Test Setup Failed
Branch master (b3eb48)
by Mr
03:25
created
Category
src/Section.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
         // Check if section is allowed
83 83
         if (!array_key_exists($section, self::RELATIONS)) {
84
-            throw new InvalidArgumentException('Section "' . $section .'" is not allowed');
84
+            throw new InvalidArgumentException('Section "' . $section . '" is not allowed');
85 85
         }
86 86
 
87 87
         // Extract allowed list
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         $suffix         = $words[1] ?? null;
92 92
 
93 93
         if (!array_key_exists($section, Section::RELATIONS)) {
94
-            throw new InvalidArgumentException('Required section "' . $section .'" is not allowed');
94
+            throw new InvalidArgumentException('Required section "' . $section . '" is not allowed');
95 95
         }
96 96
 
97 97
         return $this->section($section, $suffix);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     public function __call(string $section, array $arguments)
109 109
     {
110 110
         if (!array_key_exists($section, Section::RELATIONS)) {
111
-            throw new InvalidArgumentException('Required section "' . $section .'" is not allowed');
111
+            throw new InvalidArgumentException('Required section "' . $section . '" is not allowed');
112 112
         }
113 113
 
114 114
         return $this->section($section, $arguments[0] ?? null);
Please login to merge, or discard this patch.