Skip to content

Commit 5948efb

Browse files
authored
Update DbView.php
flushSectionsIfDoneRendering() method no longer in L5.4 Use flushStateIfDoneRendering() instead
1 parent cfb38a9 commit 5948efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Flynsarmy/DbBladeCompiler/DbView.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function render(Closure $callback = null)
7474
// Once we have the contents of the view, we will flush the sections if we are
7575
// done rendering all views so that there is nothing left hanging over when
7676
// anothoer view is rendered in the future by the application developers.
77-
View::flushSectionsIfDoneRendering();
77+
View::flushStateIfDoneRendering();
7878

7979
return $response ?: $contents;
8080
}

0 commit comments

Comments
 (0)