Skip to content

Commit

Permalink
Make StyleCI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Feb 16, 2018
1 parent 65c0b9e commit 3ea25dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Compilers/BladeCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ public function include($path, $alias = null)
$alias = $alias ?: array_last(explode('.', $path));

$this->directive($alias, function ($expression) use ($path) {
$expression = $this->stripParentheses($expression) ? : '[]';
$expression = $this->stripParentheses($expression) ?: '[]';

return "<?php echo \$__env->make('{$path}', {$expression}, array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>";
});
Expand Down

0 comments on commit 3ea25dd

Please sign in to comment.