Skip to content

Commit

Permalink
Fix psalm
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Nov 9, 2023
1 parent 084d748 commit c02e567
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
use OCA\DAV\Connector\Sabre\Principal;
use OCA\DAV\Events\SabrePluginAuthInitEvent;
use OCA\Photos\Listener\AlbumsManagementEventListener;
use OCA\Photos\Listener\ExifMetadataProvider;
use OCA\Photos\Listener\OriginalDateTimeMetadataProvider;
use OCA\Photos\Listener\PlaceMetadataProvider;
use OCA\Photos\Listener\SabrePluginAuthInitListener;
use OCA\Photos\Listener\SizeMetadataProvider;
use OCA\Photos\Listener\TagListener;
use OCA\Photos\MetadataProvider\ExifMetadataProvider;
use OCA\Photos\MetadataProvider\OriginalDateTimeMetadataProvider;
use OCA\Photos\MetadataProvider\PlaceMetadataProvider;
use OCA\Photos\MetadataProvider\SizeMetadataProvider;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
*/

namespace OCA\Photos\MetadataProvider;
namespace OCA\Photos\Listener;

use OCA\Photos\AppInfo\Application;
use OCP\EventDispatcher\Event;
Expand All @@ -33,7 +33,7 @@
* Extract EXIF, IFD0, and GPS data from a picture file.
* EXIF data reference: https://web.archive.org/web/20220428165430/exif.org/Exif2-2.PDF
*
* @template-implements IEventListener
* @template-implements IEventListener<Event>
*/
class ExifMetadataProvider implements IEventListener {
public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
*/

namespace OCA\Photos\MetadataProvider;
namespace OCA\Photos\Listener;

use DateTime;
use OCA\Photos\AppInfo\Application;
Expand All @@ -30,7 +30,7 @@
use OCP\FilesMetadata\Event\MetadataLiveEvent;

/**
* @template-implements IEventListener
* @template-implements IEventListener<Event>
*/
class OriginalDateTimeMetadataProvider implements IEventListener {
public function __construct() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/


namespace OCA\Photos\MetadataProvider;
namespace OCA\Photos\Listener;

use OCA\Photos\AppInfo\Application;
use OCA\Photos\Service\MediaPlaceManager;
Expand All @@ -31,7 +31,7 @@
use OCP\FilesMetadata\Event\MetadataLiveEvent;

/**
* @template-implements IEventListener
* @template-implements IEventListener<Event>
*/
class PlaceMetadataProvider implements IEventListener {
public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
*/

namespace OCA\Photos\MetadataProvider;
namespace OCA\Photos\Listener;

use OCA\Photos\AppInfo\Application;
use OCP\EventDispatcher\Event;
Expand All @@ -30,7 +30,7 @@
use Psr\Log\LoggerInterface;

/**
* @template-implements IEventListener
* @template-implements IEventListener<Event>
*/
class SizeMetadataProvider implements IEventListener {
public function __construct(
Expand Down

0 comments on commit c02e567

Please sign in to comment.