| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | #[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)] |
||
| 22 | class After extends AbstractAttribute |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @param string $call The method to call |
||
| 26 | * @param array $with The call parameters |
||
| 27 | */ |
||
| 28 | public function __construct(protected string $call, protected array $with = []) |
||
| 29 | {} |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritDoc |
||
| 33 | */ |
||
| 34 | public function saveValue(Metadata $xMetadata, string $sMethod = '*'): void |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
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.