|
@@ -94,7 +94,7 @@ discard block |
|
|
block discarded – undo |
|
94
|
94
|
return $this->__call('compile', []); |
|
95
|
95
|
} |
|
96
|
96
|
|
|
97
|
|
- if ($this->getBladeView() && ! $this->getContents()) { |
|
|
97
|
+ if ($this->getBladeView() && !$this->getContents()) { |
|
98
|
98
|
if (str_ends_with($this->getBladeView(), '.blade.php')) { |
|
99
|
99
|
// If the view key is for a Blade file path, we'll use the anonymous view compiler to compile it. |
|
100
|
100
|
// This allows you to use any arbitrary file, without needing to register its namespace or directory. |
|
@@ -132,7 +132,7 @@ discard block |
|
|
block discarded – undo |
|
132
|
132
|
*/ |
|
133
|
133
|
public function __call(string $method, array $parameters): mixed |
|
134
|
134
|
{ |
|
135
|
|
- if (! $this->hasMacro($method)) { |
|
|
135
|
+ if (!$this->hasMacro($method)) { |
|
136
|
136
|
throw new BadMethodCallException(sprintf( |
|
137
|
137
|
'Method %s::%s does not exist.', static::class, $method |
|
138
|
138
|
)); |
Please login to merge, or discard this patch.