@@ -24,6 +24,6 @@ |
||
24 | 24 | throw new \InvalidArgumentException('Path does not exist.'); |
25 | 25 | } |
26 | 26 | |
27 | - $this->path = $realpath . '/'; |
|
27 | + $this->path = $realpath.'/'; |
|
28 | 28 | } |
29 | 29 | } |
@@ -125,7 +125,7 @@ |
||
125 | 125 | } elseif (is_resource($value)) { |
126 | 126 | return 'Resource '.get_resource_type($value); |
127 | 127 | } elseif (is_array($value)) { |
128 | - return 'Array of length ' . count($value); |
|
128 | + return 'Array of length '.count($value); |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | $truncation = new Truncation($value); |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -require __DIR__ . '/vendor/autoload.php'; |
|
3 | +require __DIR__.'/vendor/autoload.php'; |
|
4 | 4 | |
5 | 5 | $logfile = new Logfile\Logfile('92193684-b2a9-84ca-cd07-d1631a3813d2'); |
6 | 6 | $logfile->setPath(__DIR__); |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | |
18 | 18 | // -------- |
19 | 19 | |
20 | -set_exception_handler(function (Throwable $e) use($logfile, $logger) { |
|
20 | +set_exception_handler(function(Throwable $e) use($logfile, $logger) { |
|
21 | 21 | $logfile->captureException($e); |
22 | 22 | $logger->error($e->getMessage(), ['exception' => $e]); |
23 | 23 | }); |