Passed
Push — master ( 1630cc...f38e3f )
by Hesham
05:00 queued 49s
created
src/controllers/LumenerController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     public function __call($method, $params)
35 35
     {
36 36
         if (strncasecmp($method, "get", 3) === 0) {
37
-            $var = preg_replace_callback('/[A-Z]/', function ($c) {
37
+            $var = preg_replace_callback('/[A-Z]/', function($c) {
38 38
                 return '_'.strtolower($c[0]);
39 39
             }, lcfirst(substr($method, 3)));
40 40
             return $this->$var;
@@ -147,10 +147,10 @@  discard block
 block discarded – undo
147 147
         return $content;
148 148
     }
149 149
 
150
-    private function _runGetBuffer($files, $allowed_errors=[E_WARNING])
150
+    private function _runGetBuffer($files, $allowed_errors = [E_WARNING])
151 151
     {
152 152
         // Prepare for unhandled errors
153
-        set_error_handler(function ($err_severity, $err_msg, $err_file, $err_line) use ($allowed_errors) {
153
+        set_error_handler(function($err_severity, $err_msg, $err_file, $err_line) use ($allowed_errors) {
154 154
             // Check if suppressed with the @-operator
155 155
             if (0 === error_reporting()) {
156 156
                 return false;
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
         set_error_handler(null);
181 181
         $content = "";
182 182
         while ($level = ob_get_clean()) {
183
-            $content = $level . $content;
183
+            $content = $level.$content;
184 184
         }
185 185
         return $content;
186 186
     }
Please login to merge, or discard this patch.