Passed
Push — master ( 21b640...a85aeb )
by Vladimir
02:52
created
src/Templates/Keyboard/Button.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\Templates\Keyboard;
6 6
 
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      *
16 16
      * @return string
17 17
      */
18
-    public function getLabel(): ?string
18
+    public function getLabel(): ? string
19 19
     {
20 20
         return $this->label;
21 21
     }
Please login to merge, or discard this patch.
src/Drivers/Commands/SendMessage.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\Drivers\Commands;
6 6
 
@@ -49,12 +49,12 @@  discard block
 block discarded – undo
49 49
         return $this->recipient;
50 50
     }
51 51
 
52
-    public function getText(): ?string
52
+    public function getText(): ? string
53 53
     {
54 54
         return $this->text;
55 55
     }
56 56
 
57
-    public function getTemplate(): ?Template
57
+    public function getTemplate(): ? Template
58 58
     {
59 59
         return $this->template;
60 60
     }
Please login to merge, or discard this patch.
src/Toolbelt/Commands/ListDrivers.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\Toolbelt\Commands;
6 6
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         $items = json_decode((string) $response->getBody(), true);
26 26
 
27 27
         $drivers = collect($items)
28
-            ->map(function ($item) {
28
+            ->map(function($item) {
29 29
                 return [$item['name'], $item['package'], $item['official'] ? '✅' : '❌'];
30 30
             })
31 31
             ->toArray();
Please login to merge, or discard this patch.
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
 
@@ -40,13 +40,13 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function register(): void
42 42
     {
43
-        $this->container->share('request', function () {
43
+        $this->container->share('request', function() {
44 44
             return ServerRequestFactory::fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES);
45 45
         });
46 46
         $this->container->share('response', Response::class);
47 47
         $this->container->share('emitter', SapiEmitter::class);
48 48
 
49
-        $this->container->share('router', function () {
49
+        $this->container->share('router', function() {
50 50
             $router = new RouteCollection($this->container);
51 51
 
52 52
             $this->routes($router);
Please login to merge, or discard this patch.