The doc comment class-string<EventSourcedUseCase> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<EventSourcedUseCase>.
Loading history...
26
*
27
* @throws UnresolvableDomainIdPropertiesException
28
*
29
* @return list<string>
30
*/
31
3
public static function getDomainIdPropertiesForUseCase(string $useCaseClassName): array
The expression return self::domainIdsRe...olve($useCaseClassName) returns the type array which is incompatible with the documented return type Gember\EventSourcing\UseCase\list.
The doc comment class-string<EventSourcedUseCase> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<EventSourcedUseCase>.
Loading history...
38
* @param class-string $eventClassName
39
*/
40
8
public static function getUseCaseSubscriberMethodForEvent(string $useCaseClassName, string $eventClassName): ?string