Completed
Push — master ( 9ad54b...895d73 )
by Federico
03:21
created
jate/modules/ExternalModules/pug-php/pug/src/Jade/Compiler/MixinVisitor.php 1 patch
Doc Comments   +15 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
         }
16 16
     }
17 17
 
18
+    /**
19
+     * @param boolean $containsOnlyArrays
20
+     */
18 21
     protected function parseMixinArguments(&$arguments, &$containsOnlyArrays, &$defaultAttributes)
19 22
     {
20 23
         $newArrayKey = null;
@@ -72,6 +75,9 @@  discard block
 block discarded – undo
72 75
         return $this->parseMixinStringAttribute($data);
73 76
     }
74 77
 
78
+    /**
79
+     * @param string $defaultAttributes
80
+     */
75 81
     protected function parseMixinAttributes($attributes, $defaultAttributes, $mixinAttributes)
76 82
     {
77 83
         if (!count($attributes)) {
@@ -112,6 +118,9 @@  discard block
 block discarded – undo
112 118
         );
113 119
     }
114 120
 
121
+    /**
122
+     * @param string $code
123
+     */
115 124
     protected function renderClosureClosing($code, $arguments = array())
116 125
     {
117 126
         if (!$this->restrictedScope) {
@@ -139,7 +148,9 @@  discard block
 block discarded – undo
139 148
     }
140 149
 
141 150
     /**
142
-     * @param Nodes\Mixin $mixin
151
+     * @param Mixin $mixin
152
+     * @param string $name
153
+     * @param string $blockName
143 154
      */
144 155
     protected function visitMixinCall(Mixin $mixin, $name, $blockName, $attributes)
145 156
     {
@@ -234,7 +245,8 @@  discard block
 block discarded – undo
234 245
     }
235 246
 
236 247
     /**
237
-     * @param Nodes\Mixin $mixin
248
+     * @param Mixin $mixin
249
+     * @param string $name
238 250
      */
239 251
     protected function visitMixinDeclaration(Mixin $mixin, $name)
240 252
     {
@@ -264,7 +276,7 @@  discard block
 block discarded – undo
264 276
     }
265 277
 
266 278
     /**
267
-     * @param Nodes\Mixin $mixin
279
+     * @param Mixin $mixin
268 280
      */
269 281
     protected function visitMixin(Mixin $mixin)
270 282
     {
Please login to merge, or discard this patch.
modules/ExternalModules/pug-php/pug/src/Jade/Compiler/SubCodeHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
     protected $input;
12 12
     protected $name;
13 13
 
14
+    /**
15
+     * @param string $input
16
+     */
14 17
     public function __construct(CodeHandler $codeHandler, $input, $name)
15 18
     {
16 19
         $this->codeHandler = $codeHandler;
Please login to merge, or discard this patch.
jate/modules/ExternalModules/pug-php/pug/src/Jade/Compiler/TagVisitor.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,7 +7,8 @@  discard block
 block discarded – undo
7 7
 abstract class TagVisitor extends Visitor
8 8
 {
9 9
     /**
10
-     * @param Nodes\Tag $tag
10
+     * @param Tag $tag
11
+     * @param boolean $newLinePrettyPrint
11 12
      */
12 13
     protected function visitTagAttributes(Tag $tag, $newLinePrettyPrint, $close = '>')
13 14
     {
@@ -25,7 +26,7 @@  discard block
 block discarded – undo
25 26
     }
26 27
 
27 28
     /**
28
-     * @param Nodes\Tag $tag
29
+     * @param Tag $tag
29 30
      */
30 31
     protected function initTagName(Tag $tag)
31 32
     {
@@ -47,7 +48,7 @@  discard block
 block discarded – undo
47 48
     }
48 49
 
49 50
     /**
50
-     * @param Nodes\Tag $tag
51
+     * @param Tag $tag
51 52
      */
52 53
     protected function visitTagContents(Tag $tag)
53 54
     {
@@ -64,7 +65,7 @@  discard block
 block discarded – undo
64 65
     }
65 66
 
66 67
     /**
67
-     * @param Nodes\Tag $tag
68
+     * @param Tag $tag
68 69
      */
69 70
     protected function compileTag(Tag $tag)
70 71
     {
@@ -78,7 +79,7 @@  discard block
 block discarded – undo
78 79
     }
79 80
 
80 81
     /**
81
-     * @param Nodes\Tag $tag
82
+     * @param Tag $tag
82 83
      */
83 84
     protected function visitTag(Tag $tag)
84 85
     {
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Compiler/Visitor.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 abstract class Visitor extends KeywordsCompiler
12 12
 {
13 13
     /**
14
-     * @param Nodes\Node $node
14
+     * @param Node $node
15 15
      *
16 16
      * @return array
17 17
      */
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     }
24 24
 
25 25
     /**
26
-     * @param Nodes\Node $node
26
+     * @param Node $node
27 27
      *
28 28
      * @return mixed
29 29
      */
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     }
57 57
 
58 58
     /**
59
-     * @param Nodes\Literal $node
59
+     * @param Literal $node
60 60
      */
61 61
     protected function visitLiteral(Literal $node)
62 62
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param Nodes\Block $block
68
+     * @param Block $block
69 69
      */
70 70
     protected function visitBlock(Block $block)
71 71
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param Nodes\Doctype $doctype
78
+     * @param Doctype $doctype
79 79
      *
80 80
      * @throws \Exception
81 81
      */
@@ -97,7 +97,6 @@  discard block
 block discarded – undo
97 97
     }
98 98
 
99 99
     /**
100
-     * @param Nodes\Mixin $mixin
101 100
      */
102 101
     protected function visitMixinBlock()
103 102
     {
@@ -119,7 +118,7 @@  discard block
 block discarded – undo
119 118
     }
120 119
 
121 120
     /**
122
-     * @param Nodes\Comment $comment
121
+     * @param Comment $comment
123 122
      */
124 123
     protected function visitComment(Comment $comment)
125 124
     {
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Engine/Cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      * @param string $directory the directory to search in pug templates
34 34
      *
35
-     * @return array count of cached files and error count
35
+     * @return integer[] count of cached files and error count
36 36
      */
37 37
     public function cacheDirectory($directory)
38 38
     {
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Engine/Keywords.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
  */
8 8
 abstract class Keywords extends Cache
9 9
 {
10
+    /**
11
+     * @param string $keyword
12
+     */
10 13
     protected function hasKeyword($keyword)
11 14
     {
12 15
         return $this->hasValidCustomKeywordsOption() && isset($this->options['customKeywords'][$keyword]);
Please login to merge, or discard this patch.
jate/modules/ExternalModules/pug-php/pug/src/Jade/Filter/AbstractFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * @param Filter   $node
19 19
      * @param Compiler $compiler
20 20
      *
21
-     * @return mixed
21
+     * @return string
22 22
      */
23 23
     protected function getNodeString(Filter $node, Compiler $compiler = null)
24 24
     {
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Jade.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,6 +75,7 @@  discard block
 block discarded – undo
75 75
      * is missing in the executor include whitelist.
76 76
      * Returns false in any other case.
77 77
      *
78
+     * @param string $extension
78 79
      * @return bool
79 80
      */
80 81
     protected function whiteListNeeded($extension)
@@ -125,6 +126,7 @@  discard block
 block discarded – undo
125 126
      * Throw a invalid argument exception if the option does not exists.
126 127
      *
127 128
      * @param string name
129
+     * @param string $name
128 130
      *
129 131
      * @throws \InvalidArgumentException
130 132
      */
@@ -265,6 +267,7 @@  discard block
 block discarded – undo
265 267
      * the possibility to add $scope variables.
266 268
      *
267 269
      * @param string input
270
+     * @param string $input
268 271
      *
269 272
      * @throws \ErrorException
270 273
      *
@@ -287,7 +290,7 @@  discard block
 block discarded – undo
287 290
      * Add a variable or an array of variables to be shared with all templates that will be rendered
288 291
      * by the instance of Pug.
289 292
      *
290
-     * @param array|string $variables|$key an associatives array of variable names and values, or a
293
+     * @param array|string $variables an associatives array of variable names and values, or a
291 294
      *                                     variable name if you wish to sahre only one
292 295
      * @param mixed        $value          if you pass an array as first argument, the second
293 296
      *                                     argument will be ignored, else it will used as the
Please login to merge, or discard this patch.
jate/modules/ExternalModules/pug-php/pug/src/Jade/Lexer/InputHandler.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param $code
53
+     * @param string $code
54 54
      *
55 55
      * @return string
56 56
      */
@@ -112,6 +112,10 @@  discard block
 block discarded – undo
112 112
         return $this->token('newline');
113 113
     }
114 114
 
115
+    /**
116
+     * @param string $firstChar
117
+     * @param integer $indents
118
+     */
115 119
     protected function getTokenFromIndent($firstChar, $indents)
116 120
     {
117 121
         if ($this->length() && $firstChar === "\n") {
Please login to merge, or discard this patch.