Passed
Push — master ( 203740...2c4c0a )
by Kacper
04:22
created
Parser/TokenFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @param mixed $class
116
+     * @param string $class
117 117
      *
118 118
      * @throws \InvalidArgumentException
119 119
      */
Please login to merge, or discard this patch.
Language/Language.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,6 +158,9 @@  discard block
 block discarded – undo
158 158
         return new TokenIterator($result, $tokens->getSource());
159 159
     }
160 160
 
161
+    /**
162
+     * @param string $source
163
+     */
161 164
     public function tokenize($source, $additional = [], $offset = 0, $embedded = false)
162 165
     {
163 166
         $iterator = new TokenIterator(
@@ -197,7 +200,7 @@  discard block
 block discarded – undo
197 200
     /**
198 201
      * @param bool $embedded
199 202
      *
200
-     * @return Rule[]
203
+     * @return \Generator
201 204
      */
202 205
     private function _rules($embedded = false)
203 206
     {
@@ -241,7 +244,7 @@  discard block
 block discarded – undo
241 244
     /**
242 245
      * Language range Rule(s)
243 246
      *
244
-     * @return Rule|Rule[]
247
+     * @return Rule
245 248
      */
246 249
     public function getOpenClose()
247 250
     {
Please login to merge, or discard this patch.