Passed
Pull Request — master (#17)
by
unknown
06:36
created
src/Doctrine/CommandRegistryDecorator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     {
94 94
         $models = array_filter(
95 95
             $this->findAllModels(),
96
-            function (CommandInterface $command) use ($input) {
96
+            function(CommandInterface $command) use ($input) {
97 97
                 return preg_match(preg_quote($command->getCmd()), $input->text);
98 98
             }
99 99
         );
Please login to merge, or discard this patch.
src/Input.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function __toString()
39 39
     {
40
-        return (string)$this->data['text'];
40
+        return (string) $this->data['text'];
41 41
     }
42 42
 
43 43
     /**
Please login to merge, or discard this patch.
src/Receiver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     public function handle($payload)
130 130
     {
131 131
         $data = json_decode($payload, true) ?: [];
132
-        $events = (array)@$data['events'];
132
+        $events = (array) @$data['events'];
133 133
         $results = [];
134 134
 
135 135
         try {
Please login to merge, or discard this patch.
src/Template/ImageCarousel/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $this->imageUrl = $imageUrl;
38 38
 
39 39
         if (!$action instanceof Action) {
40
-            throw new \InvalidArgumentException("`Action` should be typeof: " .Action::class);
40
+            throw new \InvalidArgumentException("`Action` should be typeof: ".Action::class);
41 41
         }
42 42
 
43 43
         $this->action = $action;
Please login to merge, or discard this patch.