@@ -81,7 +81,7 @@ |
||
| 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 |
@@ -91,7 +91,7 @@ discard block |
||
| 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 |
||
| 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); |