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 9ba5144 commit 1a18b70
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/Listener/AlbumsManagementEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Psr\Log\LoggerInterface;

/**
* @template-implements IEventListener<NodeDeletedEvent|NodeDeletedEvent|UserRemovedEvent|GroupDeletedEvent|UserDeletedEvent|ShareDeletedEvent>
* @template-implements IEventListener<Event>
*/
class AlbumsManagementEventListener implements IEventListener {
private AlbumMapper $albumMapper;
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/ExifMetadataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<MetadataLiveEvent>
* @template-implements IEventListener<Event>
*/
class ExifMetadataProvider implements IEventListener {
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/OriginalDateTimeMetadataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
use OCP\FilesMetadata\Event\MetadataLiveEvent;

/**
* @template-implements IEventListener<MetadataLiveEvent>
* @template-implements IEventListener<Event>
*/
class OriginalDateTimeMetadataProvider implements IEventListener {
public function __construct() {
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/PlaceMetadataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use OCP\FilesMetadata\Event\MetadataLiveEvent;

/**
* @template-implements IEventListener<MetadataLiveEvent>
* @template-implements IEventListener<Event>
*/
class PlaceMetadataProvider implements IEventListener {
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/SabrePluginAuthInitListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use OCP\EventDispatcher\IEventListener;

/**
* @template-implements IEventListener<SabrePluginAuthInitEvent>
* @template-implements IEventListener<Event>
*/
class SabrePluginAuthInitListener implements IEventListener {
private PublicAlbumAuthBackend $publicAlbumAuthBackend;
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/SizeMetadataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
use Psr\Log\LoggerInterface;

/**
* @template-implements IEventListener<MetadataLiveEvent>
* @template-implements IEventListener<Event>
*/
class SizeMetadataProvider implements IEventListener {
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/TagListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use OCP\SystemTag\MapperEvent;

/**
* @template-implements IEventListener<MapperEvent>
* @template-implements IEventListener<Event>
*/
class TagListener implements IEventListener {
private \OCP\ICache $tagCountsCache;
Expand Down

0 comments on commit 1a18b70

Please sign in to comment.