Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3 from spatie/analysis-86QOZW
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
freekmurze authored Sep 28, 2018
2 parents 53dfb07 + 14f0697 commit dab5076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/BladeXCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ protected function parseComponentHtml(string $viewContents, BladeXComponent $bla
[$componentHtml, $componentInnerHtml] = $regexResult;

return "@component('{$bladeXComponent->bladeViewName}', [{$this->getComponentAttributes($componentHtml)}])"
. $this->parseComponentInnerHtml($componentInnerHtml)
. '@endcomponent';
.$this->parseComponentInnerHtml($componentInnerHtml)
.'@endcomponent';
}, $viewContents);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/BladeXTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Spatie\BladeX\Tests;

use Spatie\BladeX\BladeXComponent;
use Spatie\BladeX\Facades\BladeX;
use Spatie\BladeX\BladeXComponent;
use Spatie\BladeX\Exceptions\CouldNotRegisterComponent;

class BladeXTest extends TestCase
Expand Down

0 comments on commit dab5076

Please sign in to comment.