@@ -8,5 +8,10 @@ |
||
8 | 8 | */ |
9 | 9 | interface ApplicationAwareInterface |
10 | 10 | { |
11 | + /** |
|
12 | + * @param $application |
|
13 | + * |
|
14 | + * @return void |
|
15 | + */ |
|
11 | 16 | public function setApplication($application); |
12 | 17 | } |
@@ -206,7 +206,7 @@ |
||
206 | 206 | /** |
207 | 207 | * @param InputInterface $input |
208 | 208 | * @param OutputInterface $output |
209 | - * @param $commandString |
|
209 | + * @param string $commandString |
|
210 | 210 | * @return mixed |
211 | 211 | */ |
212 | 212 | protected function registerVariable(InputInterface $input, OutputInterface $output, $commandString) |
@@ -222,9 +222,9 @@ |
||
222 | 222 | /** |
223 | 223 | * @param InputInterface $input |
224 | 224 | * @param OutputInterface $output |
225 | - * @param $name |
|
225 | + * @param string $name |
|
226 | 226 | * @param $value |
227 | - * @param $constraints |
|
227 | + * @param Constraints\Collection $constraints |
|
228 | 228 | * @return mixed |
229 | 229 | */ |
230 | 230 | protected function _validateArgument(InputInterface $input, OutputInterface $output, $name, $value, $constraints) |
@@ -42,7 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * @param array $matrix |
44 | 44 | * @param string $key key to filter |
45 | - * @param mixed $value to compare against (strict comparison) |
|
45 | + * @param string $value to compare against (strict comparison) |
|
46 | 46 | * @return array |
47 | 47 | */ |
48 | 48 | public static function matrixFilterByValue(array $matrix, $key, $value) |
@@ -77,7 +77,7 @@ |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @param Event $event |
|
80 | + * @param ConsoleEvent $event |
|
81 | 81 | * @param string $message |
82 | 82 | */ |
83 | 83 | private function debugWriteln(ConsoleEvent $event, $message) |
@@ -63,7 +63,7 @@ |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * @param string $reference |
66 | - * @return PHPUnit_Framework_MockObject_MockObject|WriteInterface |
|
66 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
67 | 67 | */ |
68 | 68 | protected function mockWriterFileCWriteFileAssertion($reference) |
69 | 69 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * @param \SimpleXMLElement $xml |
29 | 29 | * @param string $path |
30 | 30 | * |
31 | - * @return \SimpleXMLElement|\SimpleXMLElement[] |
|
31 | + * @return string |
|
32 | 32 | * |
33 | 33 | * @link https://github.com/astorm/pestle |
34 | 34 | * @copyright Pulse Storm LLC, Alan Storm |
@@ -197,6 +197,9 @@ |
||
197 | 197 | } |
198 | 198 | } |
199 | 199 | |
200 | + /** |
|
201 | + * @param InputInterface $input |
|
202 | + */ |
|
200 | 203 | private function getAdditionalFields($input) |
201 | 204 | { |
202 | 205 | $additionalFields = $input->getArgument('additionalFields'); |