@@ -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 { |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | $this->fs->dumpFile($filePath, $fileContent); |
| 62 | 62 | $this->wlDone(sprintf('File "%s" created!', $fileRelativePath)); |
| 63 | 63 | $editor = 'atom'; |
| 64 | - passthru (sprintf("%s %s", $editor, $filePath), $return_var); |
|
| 64 | + passthru(sprintf("%s %s", $editor, $filePath), $return_var); |
|
| 65 | 65 | } catch (\Exception $e) { |
| 66 | 66 | throw new \Exception(sprintf($e->getMessage())); |
| 67 | 67 | } |