Completed
Push — master ( 5dda48...9477b8 )
by Kacper
03:00
created
Parser/Token/Token.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
     }
152 152
 
153 153
     /**
154
-     * @return Token|null|false
154
+     * @return Token
155 155
      */
156 156
     public function getEnd()
157 157
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
         return $this->_end === null;
86 86
     }
87 87
 
88
-     public function isValid(Context $context)
88
+        public function isValid(Context $context)
89 89
     {
90 90
         if ($this->_valid === null) {
91 91
             $this->validate($context);
Please login to merge, or discard this patch.
Language/Perl.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             'string.nowdoc'  => new Rule(
67 67
                 new RegexMatcher('/<<\s*\'(\w+)\';(?P<string>.*?)\n\1/sm', [
68 68
                     'string' => Token::NAME,
69
-                          0  => 'keyword.nowdoc'
69
+                            0  => 'keyword.nowdoc'
70 70
                 ]), ['context' => ['!comment']]
71 71
             ),
72 72
 
Please login to merge, or discard this patch.
Matcher/DelegateRegexMatcher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * RegexMatcher constructor.
27 27
      *
28
-     * @param          $regex
28
+     * @param          string $regex
29 29
      * @param callable $callable
30 30
      */
31 31
     public function __construct($regex, callable $callable)
Please login to merge, or discard this patch.
Language/GreedyLanguage.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * @param bool $embedded
144 144
      *
145
-     * @return Rule[]
145
+     * @return \Generator
146 146
      */
147 147
     private function _rules($embedded = false)
148 148
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      *
169 169
      * @param $embedded
170 170
      *
171
-     * @return Rule|\Kadet\Highlighter\Parser\Rule[]
171
+     * @return Rule
172 172
      */
173 173
     public function getEnds($embedded = false)
174 174
     {
Please login to merge, or discard this patch.