1 | <?php |
||
16 | class PushCommand extends Command |
||
17 | { |
||
18 | /** |
||
19 | * @var GuzzleHttp\ClientInterface |
||
20 | */ |
||
21 | private $client; |
||
22 | |||
23 | /** |
||
24 | * Configures the push command. |
||
25 | */ |
||
26 | protected function configure() |
||
38 | |||
39 | /** |
||
40 | * Executes the monitor command. |
||
41 | * |
||
42 | * @param InputInterface $input An InputInterface instance |
||
43 | * @param OutputInterface $output An OutputInterface instance |
||
44 | * |
||
45 | * @return null|int null or 0 if everything went fine, or an error code |
||
46 | */ |
||
47 | protected function execute(InputInterface $input, OutputInterface $output) |
||
65 | |||
66 | /** |
||
67 | * Returns the value for log option. |
||
68 | * |
||
69 | * If the log option is not provided, STDIN is being used instead. |
||
70 | * |
||
71 | * @param InputInterface $input |
||
72 | * @throws \RuntimeException |
||
73 | * @return mixed|string |
||
74 | */ |
||
75 | public function getOptionLog(InputInterface $input) |
||
87 | |||
88 | /** |
||
89 | * @param GuzzleHttp\ClientInterface $client |
||
90 | */ |
||
91 | public function setClient(ClientInterface $client) |
||
95 | |||
96 | /** |
||
97 | * @return Client |
||
98 | */ |
||
99 | public function getClient() |
||
103 | } |
||
104 |
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..