1 | <?php |
||
23 | class ArgumentInvocation extends AbstractDependentTypeInvocation implements ArgumentInvocationInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var mixed |
||
27 | */ |
||
28 | protected $value; |
||
29 | |||
30 | /** |
||
31 | * ArgumentInvocation constructor. |
||
32 | * @param TypeInvocation $parent |
||
33 | * @param Document $document |
||
34 | * @param string $name |
||
35 | * @param mixed $value |
||
36 | */ |
||
37 | public function __construct(TypeInvocation $parent, Document $document, string $name, $value) |
||
41 | |||
42 | /** |
||
43 | * @return Type |
||
44 | */ |
||
45 | public static function getType(): Type |
||
49 | |||
50 | /** |
||
51 | * @return mixed |
||
52 | */ |
||
53 | public function getValue() |
||
57 | |||
58 | /** |
||
59 | * @return TypeDefinition |
||
60 | */ |
||
61 | public function getTypeDefinition(): TypeDefinition |
||
70 | } |
||
71 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.