@@ -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 | { |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | */ |
| 100 | 100 | public function getPHPoole(array $options = []) |
| 101 | 101 | { |
| 102 | - $messageCallback = function ($code, $message = '', $itemsCount = 0, $itemsMax = 0, $verbose = true) { |
|
| 102 | + $messageCallback = function($code, $message = '', $itemsCount = 0, $itemsMax = 0, $verbose = true) { |
|
| 103 | 103 | switch (true) { |
| 104 | 104 | case $code == 'CREATE' |
| 105 | 105 | || $code == 'CONVERT' |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | - * @param $text |
|
| 157 | + * @param string $text |
|
| 158 | 158 | */ |
| 159 | 159 | public function wlAnnonce($text) |
| 160 | 160 | { |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
| 173 | - * @param $text |
|
| 173 | + * @param string $text |
|
| 174 | 174 | */ |
| 175 | 175 | public function wlAlert($text) |
| 176 | 176 | { |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | $this->phpoole->setSourceDir($this->getPath()); |
| 143 | 143 | $this->phpoole->setDestinationDir($this->getPath()); |
| 144 | 144 | } catch (ParseException $e) { |
| 145 | - throw new \Exception(sprintf('Config file parse error: %s', $e->getMessage())); |
|
| 145 | + throw new \Exception(sprintf('Config file parse error: %s', $e->getMessage())); |
|
| 146 | 146 | exit(1); |
| 147 | 147 | } catch (\Exception $e) { |
| 148 | 148 | throw new \Exception(sprintf($e->getMessage())); |
@@ -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 => '│ ', |