|
@@ -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. |
|
@@ -124,7 +124,7 @@ discard block |
|
|
block discarded – undo |
|
124
|
124
|
*/ |
|
125
|
125
|
public function __call(string $method, array $parameters): mixed |
|
126
|
126
|
{ |
|
127
|
|
- if (! isset($this->macros[$method])) { |
|
|
127
|
+ if (!isset($this->macros[$method])) { |
|
128
|
128
|
throw new BadMethodCallException(sprintf( |
|
129
|
129
|
'Method %s::%s does not exist.', static::class, $method |
|
130
|
130
|
)); |
Please login to merge, or discard this patch.