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