@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | { |
| 11 | 11 | $debugger = new \ReflectionClass(__CLASS__); |
| 12 | 12 | $methods = $debugger->getMethods(); |
| 13 | - self::$meta_methods = array_map(function ($m) { |
|
| 13 | + self::$meta_methods = array_map(function($m) { |
|
| 14 | 14 | return $m->name; |
| 15 | 15 | }, $methods); |
| 16 | 16 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | public static function formatThrowable(\Throwable $err) |
| 54 | 54 | { |
| 55 | 55 | return sprintf( |
| 56 | - '%s (%d) in file %s:%d' . PHP_EOL . '%s', |
|
| 56 | + '%s (%d) in file %s:%d'.PHP_EOL.'%s', |
|
| 57 | 57 | get_class($err), |
| 58 | 58 | $err->getCode(), |
| 59 | 59 | self::formatFilename($err->getFile()), |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | { |
| 90 | 90 | return PHP_EOL |
| 91 | 91 | . "******* " |
| 92 | - . (empty($var_name) ? $backtrace[1]['function'] . '()' : " ($var_name) ") |
|
| 92 | + . (empty($var_name) ? $backtrace[1]['function'].'()' : " ($var_name) ") |
|
| 93 | 93 | . " *******" |
| 94 | 94 | . PHP_EOL |
| 95 | 95 | . self::tracesToString($backtrace, $full_backtrace) |
@@ -169,13 +169,13 @@ discard block |
||
| 169 | 169 | if (is_null($arg)) { |
| 170 | 170 | $ret = 'NULL'; |
| 171 | 171 | } elseif (is_bool($arg)) { |
| 172 | - $ret = 'bool:' . ((int)$arg); |
|
| 172 | + $ret = 'bool:'.((int)$arg); |
|
| 173 | 173 | } elseif (is_scalar($arg)) { |
| 174 | 174 | $ret = $arg; |
| 175 | 175 | } elseif (is_object($arg)) { |
| 176 | 176 | $ret = get_class($arg); |
| 177 | 177 | } elseif (is_array($arg)) { |
| 178 | - $ret = 'Array #' . count($arg); |
|
| 178 | + $ret = 'Array #'.count($arg); |
|
| 179 | 179 | } |
| 180 | 180 | return $ret; |
| 181 | 181 | } |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | |
| 188 | 188 | private static function isShortcutCall($function_name): bool |
| 189 | 189 | { |
| 190 | - return in_array($function_name, ['vd', 'dd','vdt', 'ddt']); |
|
| 190 | + return in_array($function_name, ['vd', 'dd', 'vdt', 'ddt']); |
|
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | } |