@@ -112,6 +112,7 @@ |
||
112 | 112 | |
113 | 113 | /** |
114 | 114 | * @param string $pattern |
115 | + * @param InputInterface $input |
|
115 | 116 | * @return array |
116 | 117 | */ |
117 | 118 | private function expandPathPattern($input, $pattern) |
@@ -154,6 +154,9 @@ |
||
154 | 154 | ->renderByFormat($output, $formattedTable, $format); |
155 | 155 | } |
156 | 156 | |
157 | + /** |
|
158 | + * @param string $format |
|
159 | + */ |
|
157 | 160 | private function renderTableValue($value, $format) |
158 | 161 | { |
159 | 162 | if ($value === null) { |
@@ -132,6 +132,9 @@ |
||
132 | 132 | } |
133 | 133 | } |
134 | 134 | |
135 | + /** |
|
136 | + * @param \Faker\Generator $faker |
|
137 | + */ |
|
135 | 138 | private function createAddress($faker) |
136 | 139 | { |
137 | 140 | $country = $this->getCountryCollection() |
@@ -33,7 +33,7 @@ |
||
33 | 33 | /** |
34 | 34 | * @param $name |
35 | 35 | * |
36 | - * @return mixed |
|
36 | + * @return \PDO|null |
|
37 | 37 | */ |
38 | 38 | public function __get($name) |
39 | 39 | { |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | } |
323 | 323 | |
324 | 324 | /** |
325 | - * @param array $execs |
|
325 | + * @param string[] $execs |
|
326 | 326 | * @param string $fileName |
327 | 327 | * @param InputInterface $input |
328 | 328 | * @param OutputInterface $output |
@@ -524,7 +524,7 @@ discard block |
||
524 | 524 | |
525 | 525 | /** |
526 | 526 | * @param null|bool|string $optionAddTime [optional] true for default "suffix", other string values: "prefix", "no" |
527 | - * @return array |
|
527 | + * @return string[] |
|
528 | 528 | */ |
529 | 529 | private function getFileNamePrefixSuffix($optionAddTime = null) |
530 | 530 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | fwrite(STDERR, implode(PHP_EOL, array( |
11 | 11 | 'The suhosin.executor.include.whitelist setting is incorrect.', |
12 | 12 | 'Add the following to the end of your `php.ini` or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini):', |
13 | - ' suhosin.executor.include.whitelist = phar '.$suhosin, |
|
13 | + ' suhosin.executor.include.whitelist = phar ' . $suhosin, |
|
14 | 14 | '' |
15 | 15 | ))); |
16 | 16 | exit(1); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | protected function configure() |
12 | 12 | { |
13 | 13 | $this->setName('media:cache:image:clear') |
14 | - ->setDescription('Clears image cache'); |
|
14 | + ->setDescription('Clears image cache'); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | /** |
@@ -11,7 +11,7 @@ |
||
11 | 11 | protected function configure() |
12 | 12 | { |
13 | 13 | $this->setName('media:cache:jscss:clear') |
14 | - ->setDescription('Clears JS/CSS cache'); |
|
14 | + ->setDescription('Clears JS/CSS cache'); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | /** |
@@ -134,9 +134,9 @@ discard block |
||
134 | 134 | |
135 | 135 | /** |
136 | 136 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
137 | - * @param $rfs |
|
138 | - * @param $remoteFilename |
|
139 | - * @param $tempFilename |
|
137 | + * @param RemoteFilesystem $rfs |
|
138 | + * @param string $remoteFilename |
|
139 | + * @param string $tempFilename |
|
140 | 140 | */ |
141 | 141 | private function downloadNewVersion(OutputInterface $output, $rfs, $remoteFilename, $tempFilename) |
142 | 142 | { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * @param $tempFilename |
|
151 | + * @param string $tempFilename |
|
152 | 152 | * @param $localFilename |
153 | 153 | */ |
154 | 154 | private function checkNewPharFile($tempFilename, $localFilename) |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | /** |
167 | 167 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
168 | 168 | * @param $loadUnstable |
169 | - * @param $rfs |
|
169 | + * @param RemoteFilesystem $rfs |
|
170 | 170 | */ |
171 | 171 | private function showChangelog(OutputInterface $output, $loadUnstable, $rfs) |
172 | 172 | { |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | } |
202 | 202 | |
203 | 203 | /** |
204 | - * @param $latest |
|
204 | + * @param string $latest |
|
205 | 205 | * @param $loadUnstable |
206 | 206 | * @return bool |
207 | 207 | */ |