Completed
Push — fix/scrutinizer ( 81bfd8...c8f3d4 )
by Maciej
02:48
created
Parser/Token/Token.php 1 patch
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.
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.
KeyLighter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@
 block discarded – undo
135 135
         return $this->_formatters;
136 136
     }
137 137
 
138
+    /**
139
+     * @return string
140
+     */
138 141
     public function highlight($source, Language $language, FormatterInterface $formatter = null)
139 142
     {
140 143
         $formatter = $formatter ?: $this->getDefaultFormatter();
Please login to merge, or discard this patch.
bin/Commands/Benchmark/RunCommand.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@  discard block
 block discarded – undo
119 119
         ;
120 120
     }
121 121
 
122
+    /**
123
+     * @param string $source
124
+     */
122 125
     protected function benchmark($source, Language $language, FormatterInterface $formatter, $geshi = null)
123 126
     {
124 127
         gc_collect_cycles(); // force garbage collector
@@ -170,6 +173,9 @@  discard block
 block discarded – undo
170 173
         ];
171 174
     }
172 175
 
176
+    /**
177
+     * @param string $source
178
+     */
173 179
     protected function geshi($source, $language)
174 180
     {
175 181
         // Silence GeSHi notices
Please login to merge, or discard this patch.
bin/Commands/Test/RegenerateCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
             || $input->hasParameterOption('-r');
99 99
     }
100 100
 
101
+    /**
102
+     * @param string $filename
103
+     */
101 104
     private function regenerate(InputInterface $input, $filename)
102 105
     {
103 106
         $filename = str_replace(DIRECTORY_SEPARATOR, '/', $filename);
Please login to merge, or discard this patch.
Formatter/AbstractFormatter.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
         return $result . ($this->_options['lines']['enable'] ? $this->formatLineEnd($this->_line++) : '');
44 44
     }
45 45
 
46
+    /**
47
+     * @param string $text
48
+     */
46 49
     private function _content($text)
47 50
     {
48 51
         $content = $this->content($text);
@@ -57,11 +60,17 @@  discard block
 block discarded – undo
57 60
         return $text;
58 61
     }
59 62
 
63
+    /**
64
+     * @param integer $line
65
+     */
60 66
     protected function formatLineStart($line)
61 67
     {
62 68
         return null;
63 69
     }
64 70
 
71
+    /**
72
+     * @param integer $line
73
+     */
65 74
     protected function formatLineEnd($line)
66 75
     {
67 76
         return null;
Please login to merge, or discard this patch.