Skip to content

Commit 8ae7d5c

Browse files
committed
Fix Loggable template bounds for type-info compatibility
1 parent eef8a13 commit 8ae7d5c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Loggable/Entity/MappedSuperclass/AbstractLogEntry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Gedmo\Loggable\Loggable;
1616

1717
/**
18-
* @phpstan-template T of Loggable|object
18+
* @phpstan-template T of Loggable
1919
*
2020
* @phpstan-implements LogEntryInterface<T>
2121
*

src/Loggable/LogEntryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Interface to be implemented by log entry models.
1414
*
15-
* @phpstan-template T of Loggable|object
15+
* @phpstan-template T of Loggable
1616
*
1717
* @author Javier Spagnoletti <phansys@gmail.com>
1818
*/

src/Loggable/LoggableListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* versioned?: string[],
3737
* }
3838
*
39-
* @template T of Loggable|object
39+
* @template T of Loggable
4040
*
4141
* @phpstan-extends MappedEventSubscriber<LoggableConfiguration, LoggableAdapter>
4242
*/

0 commit comments

Comments
 (0)