We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3fd39 commit 08944b1Copy full SHA for 08944b1
1 file changed
src/View/Cascade.php
@@ -154,14 +154,14 @@ protected function hydrateGlobals()
154
155
protected function hydrateContent()
156
{
157
- if (! $this->content) {
158
- return $this;
159
- }
160
-
161
if ($this->content instanceof \Closure) {
162
$this->content = call_user_func($this->content);
163
}
164
+ if (! $this->content) {
+ return $this;
+ }
+
165
$variables = $this->content instanceof Augmentable
166
? $this->content->toDeferredAugmentedArray()
167
: $this->content->toArray();
0 commit comments