Completed
Push — 1.0 ( 47c60b...dccc7f )
by Vladimir
07:14 queued 04:28
created
src/Application/LogServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Application;
6 6
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function boot(): void
29 29
     {
30
-        $this->getContainer()->share(LoggerInterface::class, function () {
30
+        $this->getContainer()->share(LoggerInterface::class, function() {
31 31
             $logger = new Logger('FondBot');
32 32
             $logger->pushHandler(new StreamHandler(
33 33
                 $this->getContainer()->get('resources_path').'/logs/app.log'
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         $whoops = new Run;
40 40
         $whoops->pushHandler(new PrettyPageHandler);
41
-        $whoops->pushHandler(function (Exception $exception, $inspector, $run) {
41
+        $whoops->pushHandler(function(Exception $exception, $inspector, $run) {
42 42
             /** @var LoggerInterface $logger */
43 43
             $logger = $this->getContainer()->get(LoggerInterface::class);
44 44
 
Please login to merge, or discard this patch.