@@ -20,7 +20,7 @@ |
||
20 | 20 | class FilenameRecursiveTreeIterator extends RecursiveTreeIterator |
21 | 21 | { |
22 | 22 | /** |
23 | - * @return mixed |
|
23 | + * @return string |
|
24 | 24 | */ |
25 | 25 | public function current() |
26 | 26 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | $this->wlAnnonce(sprintf('%s/', $this->contentDir)); |
31 | 31 | $pages = $this->getPagesTree(); |
32 | 32 | if ($this->getConsole()->isUtf8()) { |
33 | - $unicodeTreePrefix = function (RecursiveTreeIterator $tree) { |
|
33 | + $unicodeTreePrefix = function(RecursiveTreeIterator $tree) { |
|
34 | 34 | $prefixParts = [ |
35 | 35 | RecursiveTreeIterator::PREFIX_LEFT => ' ', |
36 | 36 | RecursiveTreeIterator::PREFIX_MID_HAS_NEXT => '│ ', |
@@ -209,7 +209,7 @@ |
||
209 | 209 | */ |
210 | 210 | public function messageCallback() |
211 | 211 | { |
212 | - return function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) { |
|
212 | + return function($code, $message = '', $itemsCount = 0, $itemsMax = 0) { |
|
213 | 213 | if ($this->quiet) { |
214 | 214 | return; |
215 | 215 | } else { |
@@ -155,6 +155,9 @@ |
||
155 | 155 | |
156 | 156 | /** |
157 | 157 | * Print progress bar. |
158 | + * @param integer $itemsCount |
|
159 | + * @param integer $itemsMax |
|
160 | + * @param string $message |
|
158 | 161 | */ |
159 | 162 | protected function printProgressBar($itemsCount, $itemsMax, $message) |
160 | 163 | { |