@@ -52,7 +52,7 @@ |
||
52 | 52 | { |
53 | 53 | if (!$requireScheme && stripos($url, '://') === false) { |
54 | 54 | //Forcing scheme (not super great idea) |
55 | - $url = 'http://' . $url; |
|
55 | + $url = 'http://'.$url; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | if ((bool)filter_var($url, FILTER_VALIDATE_URL)) { |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * @param array $arguments |
14 | 14 | * @return array |
15 | 15 | */ |
16 | -$argumenter = function (array $arguments) use ($dumper, $styler, &$dumps) { |
|
16 | +$argumenter = function(array $arguments) use ($dumper, $styler, &$dumps) { |
|
17 | 17 | $result = []; |
18 | 18 | foreach ($arguments as $argument) { |
19 | 19 | $display = $type = strtolower(gettype($argument)); |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | in <i><?= $exception->getFile() ?></i> at <strong>line <?= $exception->getLine() ?></strong> |
257 | 257 | </div> |
258 | 258 | |
259 | - <?php if($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?> |
|
259 | + <?php if ($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?> |
|
260 | 260 | <div class="query"><?= $exception->getQuery() ?></div> |
261 | 261 | <?php } ?> |
262 | 262 | |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | $arguments = $argumenter($trace['args']); |
283 | 283 | } |
284 | 284 | |
285 | - $function = '<strong>' . $trace['function'] . '</strong>'; |
|
285 | + $function = '<strong>'.$trace['function'].'</strong>'; |
|
286 | 286 | if (isset($trace['type']) && isset($trace['class'])) { |
287 | 287 | $reflection = new ReflectionClass($trace['class']); |
288 | 288 | $function = \Spiral\interpolate( |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | continue; |
349 | 349 | } |
350 | 350 | |
351 | - $function = '<strong>' . $trace['function'] . '</strong>'; |
|
351 | + $function = '<strong>'.$trace['function'].'</strong>'; |
|
352 | 352 | if (isset($trace['type']) && isset($trace['class'])) { |
353 | 353 | $reflection = new ReflectionClass($trace['class']); |
354 | 354 | $function = \Spiral\interpolate( |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * @param array $arguments |
14 | 14 | * @return array |
15 | 15 | */ |
16 | -$argumenter = function (array $arguments) use ($dumper, $styler, &$dumps) { |
|
16 | +$argumenter = function(array $arguments) use ($dumper, $styler, &$dumps) { |
|
17 | 17 | $result = []; |
18 | 18 | foreach ($arguments as $argument) { |
19 | 19 | $display = $type = strtolower(gettype($argument)); |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | <span style="float: right; opacity: 0.7;">SLOW MODE</span> |
274 | 274 | </div> |
275 | 275 | |
276 | - <?php if($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?> |
|
276 | + <?php if ($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?> |
|
277 | 277 | <div class="query"><?= $exception->getQuery() ?></div> |
278 | 278 | <?php } ?> |
279 | 279 | |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | $arguments = $argumenter($trace['args']); |
300 | 300 | } |
301 | 301 | |
302 | - $function = '<strong>' . $trace['function'] . '</strong>'; |
|
302 | + $function = '<strong>'.$trace['function'].'</strong>'; |
|
303 | 303 | if (isset($trace['type']) && isset($trace['class'])) { |
304 | 304 | $reflection = new ReflectionClass($trace['class']); |
305 | 305 | $function = Spiral\interpolate( |
@@ -365,7 +365,7 @@ discard block |
||
365 | 365 | continue; |
366 | 366 | } |
367 | 367 | |
368 | - $function = '<strong>' . $trace['function'] . '</strong>'; |
|
368 | + $function = '<strong>'.$trace['function'].'</strong>'; |
|
369 | 369 | if (isset($trace['type']) && isset($trace['class'])) { |
370 | 370 | $reflection = new ReflectionClass($trace['class']); |
371 | 371 | $function = Spiral\interpolate( |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | * |
15 | 15 | * @return array |
16 | 16 | */ |
17 | -$argumenter = function (array $arguments) use ($dumper, $styler, &$dumps) { |
|
17 | +$argumenter = function(array $arguments) use ($dumper, $styler, &$dumps) { |
|
18 | 18 | $result = []; |
19 | 19 | foreach ($arguments as $argument) { |
20 | 20 | $display = $type = strtolower(gettype($argument)); |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | in <i><?= $exception->getFile() ?></i> at <strong>line <?= $exception->getLine() ?></strong> |
263 | 263 | </div> |
264 | 264 | |
265 | - <?php if($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?> |
|
265 | + <?php if ($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?> |
|
266 | 266 | <div class="query"><?= $exception->getQuery() ?></div> |
267 | 267 | <?php } ?> |
268 | 268 | |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | $arguments = $argumenter($trace['args']); |
289 | 289 | } |
290 | 290 | |
291 | - $function = '<strong>' . $trace['function'] . '</strong>'; |
|
291 | + $function = '<strong>'.$trace['function'].'</strong>'; |
|
292 | 292 | if (isset($trace['type']) && isset($trace['class'])) { |
293 | 293 | $reflection = new ReflectionClass($trace['class']); |
294 | 294 | $function = \Spiral\interpolate( |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | continue; |
357 | 357 | } |
358 | 358 | |
359 | - $function = '<strong>' . $trace['function'] . '</strong>'; |
|
359 | + $function = '<strong>'.$trace['function'].'</strong>'; |
|
360 | 360 | if (isset($trace['type']) && isset($trace['class'])) { |
361 | 361 | $reflection = new ReflectionClass($trace['class']); |
362 | 362 | $function = \Spiral\interpolate( |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | * |
15 | 15 | * @return array |
16 | 16 | */ |
17 | -$argumenter = function (array $arguments) use ($dumper, $styler, &$dumps) { |
|
17 | +$argumenter = function(array $arguments) use ($dumper, $styler, &$dumps) { |
|
18 | 18 | $result = []; |
19 | 19 | foreach ($arguments as $argument) { |
20 | 20 | $display = $type = strtolower(gettype($argument)); |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | <span style="float: right; opacity: 0.7;">SLOW MODE</span> |
280 | 280 | </div> |
281 | 281 | |
282 | - <?php if($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?> |
|
282 | + <?php if ($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?> |
|
283 | 283 | <div class="query"><?= $exception->getQuery() ?></div> |
284 | 284 | <?php } ?> |
285 | 285 | |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | $arguments = $argumenter($trace['args']); |
306 | 306 | } |
307 | 307 | |
308 | - $function = '<strong>' . $trace['function'] . '</strong>'; |
|
308 | + $function = '<strong>'.$trace['function'].'</strong>'; |
|
309 | 309 | if (isset($trace['type']) && isset($trace['class'])) { |
310 | 310 | $reflection = new ReflectionClass($trace['class']); |
311 | 311 | $function = \Spiral\interpolate( |
@@ -373,7 +373,7 @@ discard block |
||
373 | 373 | continue; |
374 | 374 | } |
375 | 375 | |
376 | - $function = '<strong>' . $trace['function'] . '</strong>'; |
|
376 | + $function = '<strong>'.$trace['function'].'</strong>'; |
|
377 | 377 | if (isset($trace['type']) && isset($trace['class'])) { |
378 | 378 | $reflection = new ReflectionClass($trace['class']); |
379 | 379 | $function = \Spiral\interpolate( |