| 1 | <?php |
||
| 7 | class TerminalManager |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * $kernel. |
||
| 11 | * |
||
| 12 | * @var Recca0120\Terminal\Kernel |
||
| 13 | */ |
||
| 14 | protected $kernel; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * $config. |
||
| 18 | * |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | protected $config; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * __construct. |
||
| 25 | * |
||
| 26 | * @param \Recca0120\Terminal\Kernel $kernel |
||
| 27 | * @param array $config |
||
| 28 | */ |
||
| 29 | 2 | public function __construct(Kernel $kernel, $config = []) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * getConfig. |
||
| 46 | * |
||
| 47 | * @return array |
||
| 48 | */ |
||
| 49 | 1 | public function getConfig() |
|
| 53 | |||
| 54 | /** |
||
| 55 | * call. |
||
| 56 | * |
||
| 57 | * @param string $command |
||
| 58 | * @return int |
||
| 59 | */ |
||
| 60 | public function call($command) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * output. |
||
| 67 | * |
||
| 68 | * @return string |
||
| 69 | */ |
||
| 70 | public function output() |
||
| 74 | } |
||
| 75 |
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..