Passed
Push — master ( 54862f...3fe2ab )
by Kacper
02:54
created
KeyLighter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * @param Language|callable|string $language
65
-     * @param array[string]            $aliases
65
+     * @param string[]            $aliases
66 66
      */
67 67
     public function registerLanguage($language, $aliases) {
68 68
         $this->_languages = array_merge($this->_languages, array_fill_keys($aliases, $language));
Please login to merge, or discard this patch.
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.