| @@ -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 { | 
| @@ -20,6 +20,7 @@ discard block | ||
| 20 | 20 |  { | 
| 21 | 21 | /** | 
| 22 | 22 |       * {@inheritdoc} | 
| 23 | + * @param string $string | |
| 23 | 24 | */ | 
| 24 | 25 | public static function convertFrontmatter($string, $type = 'yaml') | 
| 25 | 26 |      { | 
| @@ -38,6 +39,7 @@ discard block | ||
| 38 | 39 | |
| 39 | 40 | /** | 
| 40 | 41 |       * {@inheritdoc} | 
| 42 | + * @param string $string | |
| 41 | 43 | */ | 
| 42 | 44 | public static function convertBody($string) | 
| 43 | 45 |      { | 
| @@ -53,6 +53,7 @@ | ||
| 53 | 53 | |
| 54 | 54 | /** | 
| 55 | 55 |       * {@inheritdoc} | 
| 56 | + * @param string $name | |
| 56 | 57 | */ | 
| 57 | 58 | public function addGlobal($name, $value) | 
| 58 | 59 |      { | 
| @@ -229,7 +229,7 @@ discard block | ||
| 229 | 229 | public function setMessageCallback($messageCallback = null) | 
| 230 | 230 |      { | 
| 231 | 231 |          if ($messageCallback === null) { | 
| 232 | -            $messageCallback = function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) { | |
| 232 | +            $messageCallback = function($code, $message = '', $itemsCount = 0, $itemsMax = 0) { | |
| 233 | 233 |                  switch ($code) { | 
| 234 | 234 | case 'CONFIG': | 
| 235 | 235 | case 'LOCATE': | 
| @@ -326,7 +326,7 @@ discard block | ||
| 326 | 326 | public function getLog($type = 0) | 
| 327 | 327 |      { | 
| 328 | 328 |          if (is_array($this->log)) { | 
| 329 | -            return array_filter($this->log, function ($key) use ($type) { | |
| 329 | +            return array_filter($this->log, function($key) use ($type) { | |
| 330 | 330 | return $key['type'] <= $type; | 
| 331 | 331 | }); | 
| 332 | 332 | } | 
| @@ -142,7 +142,7 @@ | ||
| 142 | 142 | /** | 
| 143 | 143 | * Apply environment variables. | 
| 144 | 144 | */ | 
| 145 | -        $applyEnv = function ($array) use ($data) { | |
| 145 | +        $applyEnv = function($array) use ($data) { | |
| 146 | 146 | $iterator = new \RecursiveIteratorIterator( | 
| 147 | 147 | new \RecursiveArrayIterator($array), | 
| 148 | 148 | \RecursiveIteratorIterator::SELF_FIRST | 
| @@ -17,6 +17,7 @@ | ||
| 17 | 17 | * Give config to object. | 
| 18 | 18 | * | 
| 19 | 19 | * @param \Cecil\Config $config | 
| 20 | + * @return void | |
| 20 | 21 | */ | 
| 21 | 22 | public function __construct(\Cecil\Config $config); | 
| 22 | 23 | |
| @@ -16,6 +16,7 @@ | ||
| 16 | 16 | * StepInterface constructor. | 
| 17 | 17 | * | 
| 18 | 18 | * @param Builder $builder | 
| 19 | + * @return void | |
| 19 | 20 | */ | 
| 20 | 21 | public function __construct(Builder $builder); | 
| 21 | 22 | |