Completed
Push — master ( 455494...aa412e )
by Jacob
02:22
created
src/Display.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             )
48 48
         );
49 49
         foreach ($console->getLogs() as $log) {
50
-            switch($log['type']) {
50
+            switch ($log['type']) {
51 51
                 case 'log':
52 52
                     $message = array(
53 53
                         'message' => print_r($log['data'], true),
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
                     break;
58 58
                 case 'memory':
59 59
                     $message = array(
60
-                        'message' => (!empty($log['data_type']) ? "{$log['data_type']}: " : '') . $log['name'],
60
+                        'message' => (!empty($log['data_type']) ? "{$log['data_type']}: " : '').$log['name'],
61 61
                         'data'    => self::getReadableMemory($log['data']),
62 62
                         'type'    => 'memory'
63 63
                     );
@@ -231,14 +231,14 @@  discard block
 block discarded – undo
231 231
 
232 232
         $console = $output['console'];
233 233
         $speed = $output['speed'];
234
-        $speed['messages'] = array_filter($console['messages'], function ($message) {
234
+        $speed['messages'] = array_filter($console['messages'], function($message) {
235 235
             return $message['type'] == 'speed';
236 236
         });
237 237
 
238 238
         // todo is this really the best way to load these?
239
-        $styles = file_get_contents(__DIR__ . "./../{$this->options['style_path']}");
240
-        $script = file_get_contents(__DIR__ . "./../{$this->options['script_path']}");
239
+        $styles = file_get_contents(__DIR__."./../{$this->options['style_path']}");
240
+        $script = file_get_contents(__DIR__."./../{$this->options['script_path']}");
241 241
 
242
-        require_once __DIR__ .'/../asset/display.tpl.php';
242
+        require_once __DIR__.'/../asset/display.tpl.php';
243 243
     }
244 244
 }	
Please login to merge, or discard this patch.