Passed
Branch 1.0 (690a53)
by Vladimir
07:08
created
src/Application/RouteServiceProvider.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
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         $whoops->pushHandler(new PrettyPageHandler);
42 42
         $whoops->register();
43 43
 
44
-        $this->getContainer()->share('request', function () {
44
+        $this->getContainer()->share('request', function() {
45 45
             return ServerRequestFactory::fromGlobals(
46 46
                 $_SERVER,
47 47
                 $_GET,
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $this->getContainer()->share('response', Response::class);
54 54
         $this->getContainer()->share('emitter', SapiEmitter::class);
55 55
 
56
-        $this->getContainer()->share('router', function () {
56
+        $this->getContainer()->share('router', function() {
57 57
             $router = new RouteCollection($this->getContainer());
58 58
 
59 59
             $controller = new Controller($this->getContainer()->get(Kernel::class));
Please login to merge, or discard this patch.
src/Channels/ChannelServiceProvider.php 1 patch
Spacing   +2 added lines, -2 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\Channels;
6 6
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function register(): void
24 24
     {
25
-        $this->getContainer()->share(ChannelManager::class, function () {
25
+        $this->getContainer()->share(ChannelManager::class, function() {
26 26
             /** @var Config $config */
27 27
             $config = $this->getContainer()->get(Config::class);
28 28
             /** @var array $channels */
Please login to merge, or discard this patch.
src/Cache/FilesystemCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Cache;
6 6
 
Please login to merge, or discard this patch.