1 | <?php |
||
10 | class ApplicationTester |
||
11 | { |
||
12 | /** |
||
13 | * @var Application $application |
||
14 | */ |
||
15 | private $application; |
||
16 | |||
17 | /** |
||
18 | * @var StringInput $input |
||
19 | */ |
||
20 | private $input; |
||
21 | |||
22 | /** |
||
23 | * @var StreamOutput $output |
||
24 | */ |
||
25 | private $output; |
||
26 | |||
27 | /** |
||
28 | * @var resource $inputStream |
||
29 | */ |
||
30 | private $inputStream; |
||
31 | |||
32 | /** |
||
33 | * @param Application $application |
||
34 | */ |
||
35 | public function __construct(Application $application) |
||
39 | |||
40 | /** |
||
41 | * @param string $input |
||
42 | * @param array $options |
||
43 | * |
||
44 | * @return integer |
||
45 | */ |
||
46 | public function run($input, array $options = array()) |
||
71 | |||
72 | /** |
||
73 | * @param boolean |
||
74 | * |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getDisplay($normalize = false) |
||
89 | |||
90 | /** |
||
91 | * @return InputInterface |
||
92 | */ |
||
93 | public function getInput() |
||
97 | |||
98 | /** |
||
99 | * @return OutputInterface |
||
100 | */ |
||
101 | public function getOutput() |
||
105 | |||
106 | /** |
||
107 | * @param string $input |
||
108 | */ |
||
109 | public function putToInputStream($input) |
||
113 | |||
114 | /** |
||
115 | * @return resource |
||
116 | */ |
||
117 | private function getInputStream() |
||
125 | } |
||
126 |
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..