Passed
Push — master ( 2843c3...d9b37c )
by Johnny
02:02
created
src/Cortex/Tags/Ok.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     public function parse(string $source, SourceInput $input): string
55 55
     {
56 56
         if (!$this->sourceAllowed()) {
57
-           return $source;
57
+            return $source;
58 58
         }
59 59
 
60 60
         if ($this->hasMatches($source)) {
Please login to merge, or discard this patch.
src/Cortex/Output.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     protected function searchTriggers(string $trigger): void
97 97
     {
98 98
         synapse()->triggers->each(
99
-            function ($class) use ($trigger) {
99
+            function($class) use ($trigger) {
100 100
                 $triggerClass = "\\Axiom\\Rivescript\\Cortex\\Triggers\\$class";
101 101
                 $triggerInstance = new $triggerClass(synapse()->input);
102 102
 
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     protected function parseResponse(string $response): string
189 189
     {
190 190
         synapse()->tags->each(
191
-            function ($tag) use (&$response) {
191
+            function($tag) use (&$response) {
192 192
                 $class = "\\Axiom\\Rivescript\\Cortex\\Tags\\$tag";
193 193
                 $tagClass = new $class();
194 194
 
Please login to merge, or discard this patch.
src/Cortex/Responses/Atomic.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     public function parse()
39 39
     {
40 40
         if ($this->responseQueueItem()->getCommand() === '-') {
41
-           return $this->source();
41
+            return $this->source();
42 42
         }
43 43
 
44 44
         return false;
Please login to merge, or discard this patch.
src/Cortex/Responses/Condition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
                         $matches = $this->getMatchesFromPattern($pattern, $this->source());
52 52
                         $condition = $matches[0][0];
53 53
 
54
-                        return str_replace($condition, "",  $this->source());
54
+                        return str_replace($condition, "", $this->source());
55 55
                     }
56 56
 
57 57
                 }
Please login to merge, or discard this patch.