Skip to content

Commit b8c1532

Browse files
lukeraymonddowningtaylorotwell
authored andcommitted
CS updates
1 parent 1c99b47 commit b8c1532

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Illuminate/View/Compilers/BladeCompiler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Illuminate\View\Compilers;
44

5-
use Closure;
65
use Illuminate\Support\Arr;
76
use Illuminate\Support\Str;
87
use Illuminate\Support\Traits\ReflectsClosures;
@@ -259,7 +258,7 @@ public function compileString($value)
259258
// If there are blade echo handlers defined, we will prepend the file
260259
// with a resolved instance of the blade compiler, stored inside a
261260
// variable, so that it only has to be resolved a single time.
262-
if (!empty($this->echoHandlers)) {
261+
if (! empty($this->echoHandlers)) {
263262
$result = $this->addBladeCompilerVariable($result);
264263
}
265264

src/Illuminate/View/Compilers/Concerns/CompilesEchos.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ protected function compileEscapedEchos($value)
130130
*/
131131
protected function addBladeCompilerVariable($result)
132132
{
133-
return "<?php \$__bladeCompiler = app('blade.compiler'); ?>" . $result;
133+
return "<?php \$__bladeCompiler = app('blade.compiler'); ?>".$result;
134134
}
135135

136136
/**
@@ -141,7 +141,7 @@ protected function addBladeCompilerVariable($result)
141141
*/
142142
protected function wrapInEchoHandler($value)
143143
{
144-
return empty($this->echoHandlers) ? $value : '$__bladeCompiler->applyEchoHandler(' . Str::beforeLast($value, ';') . ')';
144+
return empty($this->echoHandlers) ? $value : '$__bladeCompiler->applyEchoHandler('.Str::beforeLast($value, ';').')';
145145
}
146146

147147
/**

0 commit comments

Comments
 (0)