@@ -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 => '│ ', |