1 | <?php |
||
24 | class PostWasCreated extends DomainEvent |
||
25 | { |
||
26 | /** |
||
27 | * PostWasCreated constructor. |
||
28 | * |
||
29 | * @param PostId $id |
||
30 | * @param string $title |
||
31 | * @param string $content |
||
32 | */ |
||
33 | public function __construct(PostId $id, $title, $content) |
||
40 | |||
41 | /** |
||
42 | * @return PostId |
||
43 | */ |
||
44 | public function id() |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | public function title() |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function content() |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public static function loadValidatorMetadata(ClassMetadata $classMetadata) |
||
73 | } |
||
74 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.