| 1 | <?php |
||
| 23 | class PostTitleWasChanged extends DomainEvent |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * PostTitleWasChanged constructor. |
||
| 27 | * |
||
| 28 | * @param PostId $id |
||
| 29 | * @param string $title |
||
| 30 | */ |
||
| 31 | public function __construct(PostId $id, $title) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return PostId |
||
| 40 | */ |
||
| 41 | public function id() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function title() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | public static function loadValidatorMetadata(ClassMetadata $classMetadata) |
||
| 61 | } |
||
| 62 |
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.