| 1 | <?php |
||
| 11 | class Job extends Resource |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $actions = [ |
||
| 18 | "executions" => ["xml"], |
||
| 19 | "input/files" => ["xml"], |
||
| 20 | "info" => ["xml"], |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param HttpClient $client |
||
| 25 | * @param string $name |
||
| 26 | */ |
||
| 27 | 6 | public function __construct(HttpClient $client, $name = null) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $alt |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | 3 | public function find($alt = "xml") |
|
| 42 | } |
||
| 43 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..