diff --git a/src/Loggable/Entity/MappedSuperclass/AbstractLogEntry.php b/src/Loggable/Entity/MappedSuperclass/AbstractLogEntry.php index d0965547a4..ea3e4aa2ed 100644 --- a/src/Loggable/Entity/MappedSuperclass/AbstractLogEntry.php +++ b/src/Loggable/Entity/MappedSuperclass/AbstractLogEntry.php @@ -15,7 +15,7 @@ use Gedmo\Loggable\Loggable; /** - * @phpstan-template T of Loggable|object + * @phpstan-template T of object * * @phpstan-implements LogEntryInterface * diff --git a/src/Loggable/LogEntryInterface.php b/src/Loggable/LogEntryInterface.php index a283580ece..afb6818bfe 100644 --- a/src/Loggable/LogEntryInterface.php +++ b/src/Loggable/LogEntryInterface.php @@ -12,7 +12,7 @@ /** * Interface to be implemented by log entry models. * - * @phpstan-template T of Loggable|object + * @phpstan-template T of object * * @author Javier Spagnoletti */ diff --git a/src/Loggable/LoggableListener.php b/src/Loggable/LoggableListener.php index 2c7836be9d..b042f058fa 100644 --- a/src/Loggable/LoggableListener.php +++ b/src/Loggable/LoggableListener.php @@ -36,7 +36,7 @@ * versioned?: string[], * } * - * @template T of Loggable|object + * @template T of object * * @phpstan-extends MappedEventSubscriber */