Completed
Push — dependabot/composer/symfony/fi... ( 06ee24 )
by
unknown
09:26 queued 03:29
created
src/Command/ListContent/FilenameRecursiveTreeIterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Command/ListContent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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 => '│ ',
Please login to merge, or discard this patch.
src/Command/AbstractCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
src/Converter/Converter.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * {@inheritdoc}
42
+     * @param string $string
41 43
      */
42 44
     public static function convertBody($string)
43 45
     {
Please login to merge, or discard this patch.
src/Page/VariableTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 {
20 20
     abstract public function offsetExists($offset);
21 21
 
22
+    /**
23
+     * @param string $offset
24
+     */
22 25
     abstract public function offsetGet($offset);
23 26
 
24 27
     abstract public function offsetSet($offset, $value);
Please login to merge, or discard this patch.
src/Renderer/RendererInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * @param string|array $templatesPath
22 22
      * @param Config       $config
23
+     * @return void
23 24
      */
24 25
     public function __construct($templatesPath, $config);
25 26
 
Please login to merge, or discard this patch.
src/Renderer/Twig.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -53,6 +53,7 @@
 block discarded – undo
53 53
 
54 54
     /**
55 55
      * {@inheritdoc}
56
+     * @param string $name
56 57
      */
57 58
     public function addGlobal($name, $value)
58 59
     {
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Collection/Page/Page.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
             // file as a prefix?
129 129
             if (false !== self::getPrefix($this->fileId)) {
130 130
                 // prefix is a valid date?
131
-                $isValidDate = function ($date, $format = 'Y-m-d') {
131
+                $isValidDate = function($date, $format = 'Y-m-d') {
132 132
                     $d = \DateTime::createFromFormat($format, $date);
133 133
 
134 134
                     return $d && $d->format($format) === $date;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
      *
173 173
      * @param string $string
174 174
      *
175
-     * @return string[]|false
175
+     * @return string|false
176 176
      */
177 177
     public static function getPrefix(string $string)
178 178
     {
Please login to merge, or discard this patch.