Ensure EdgeAwareReflectionSerializing traverses SerializablePayloads #8
Annotations
10 errors
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L1
Ignored error pattern #^PHPDoc tag @var for variable \$aggregateRootType contains generic interface Dflydev\\EventSauce\\Support\\AggregateRoot\\AggregateRootIdAware but does not specify its types\: T$# in path /home/runner/work/dflydev-eventsauce-support/dflydev-eventsauce-support/src/Messages/MessageInflection.php was not matched in reported errors.
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L1
Ignored error pattern #^PHPDoc tag @var for variable \$aggregateRootTypeString contains generic interface Dflydev\\EventSauce\\Support\\AggregateRoot\\AggregateRootIdAware but does not specify its types\: T$# in path /home/runner/work/dflydev-eventsauce-support/dflydev-eventsauce-support/src/Messages/MessageInflection.php was not matched in reported errors.
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L62
Method Dflydev\EventSauce\Support\Messages\MessageInflection::extractOptionalIdentityFromHeader() has invalid return type Whrc\Model\Common\Identity\Identity.
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L62
PHPDoc tag @return with type EventSauce\EventSourcing\AggregateRootId|(T of Whrc\Model\Common\Identity\Identity)|null is not subtype of native type EventSauce\EventSourcing\AggregateRootId|null.
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L62
PHPDoc tag @template T for method Dflydev\EventSauce\Support\Messages\MessageInflection::extractOptionalIdentityFromHeader() has invalid bound type Whrc\Model\Common\Identity\Identity.
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L62
Parameter $identityType of method Dflydev\EventSauce\Support\Messages\MessageInflection::extractOptionalIdentityFromHeader() has invalid type Whrc\Model\Common\Identity\Identity.
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L64
Unable to resolve the template type T in call to method static method Dflydev\EventSauce\Support\Identity\IdentityInflection::toObject()
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L65
Parameter #1 $identityClass of static method Dflydev\EventSauce\Support\Identity\IdentityInflection::toObject() expects class-string<EventSauce\EventSourcing\AggregateRootId>, class-string<T of Whrc\Model\Common\Identity\Identity> given.
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L77
Method Dflydev\EventSauce\Support\Messages\MessageInflection::extractIdentityFromHeader() has invalid return type Whrc\Model\Common\Identity\Identity.
|
PHPStan PHP 8.2:
src/Messages/MessageInflection.php#L77
PHPDoc tag @return with type EventSauce\EventSourcing\AggregateRootId|T of Whrc\Model\Common\Identity\Identity is not subtype of native type EventSauce\EventSourcing\AggregateRootId.
|