Passed
Pull Request — master (#2)
by Tim
02:12
created
lib/Controller/Logpeek.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,13 +133,13 @@
 block discarded – undo
133 133
         $results = [];
134 134
         $line = $objFile->getPreviousLine();
135 135
         while ($line !== false && ($i++ < $cut)) {
136
-            if (strstr($line, '[' . $tag . ']')) {
136
+            if (strstr($line, '['.$tag.']')) {
137 137
                 $results[] = $line;
138 138
             }
139 139
             $line = $objFile->getPreviousLine();
140 140
         }
141 141
 
142
-        $results[] = 'Searched ' . $i . ' lines backward. ' . count($results) . ' lines found.';
142
+        $results[] = 'Searched '.$i.' lines backward. '.count($results).' lines found.';
143 143
         $results = array_reverse($results);
144 144
         return $results;
145 145
     }
Please login to merge, or discard this patch.