File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/Illuminate/View/Compilers Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Illuminate \View \Compilers ;
4
4
5
- use Closure ;
6
5
use Illuminate \Support \Arr ;
7
6
use Illuminate \Support \Str ;
8
7
use Illuminate \Support \Traits \ReflectsClosures ;
@@ -259,7 +258,7 @@ public function compileString($value)
259
258
// If there are blade echo handlers defined, we will prepend the file
260
259
// with a resolved instance of the blade compiler, stored inside a
261
260
// variable, so that it only has to be resolved a single time.
262
- if (!empty ($ this ->echoHandlers )) {
261
+ if (! empty ($ this ->echoHandlers )) {
263
262
$ result = $ this ->addBladeCompilerVariable ($ result );
264
263
}
265
264
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ protected function compileEscapedEchos($value)
130
130
*/
131
131
protected function addBladeCompilerVariable ($ result )
132
132
{
133
- return "<?php \$__bladeCompiler = app('blade.compiler'); ?> " . $ result ;
133
+ return "<?php \$__bladeCompiler = app('blade.compiler'); ?> " . $ result ;
134
134
}
135
135
136
136
/**
@@ -141,7 +141,7 @@ protected function addBladeCompilerVariable($result)
141
141
*/
142
142
protected function wrapInEchoHandler ($ value )
143
143
{
144
- return empty ($ this ->echoHandlers ) ? $ value : '$__bladeCompiler->applyEchoHandler( ' . Str::beforeLast ($ value , '; ' ) . ') ' ;
144
+ return empty ($ this ->echoHandlers ) ? $ value : '$__bladeCompiler->applyEchoHandler( ' . Str::beforeLast ($ value , '; ' ). ') ' ;
145
145
}
146
146
147
147
/**
You can’t perform that action at this time.
0 commit comments