Skip to content

Commit

Permalink
Apply fixes from StyleCI (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored Jun 8, 2020
1 parent f59a577 commit ee8fd36
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/Context/LaravelRequestContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function getUser(): array
{
try {
$user = $this->request->user();

if (! $user) {
return [];
}
Expand Down
2 changes: 0 additions & 2 deletions src/Solutions/SuggestCorrectVariableNameSolution.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

namespace Facade\Ignition\Solutions;

use Facade\IgnitionContracts\RunnableSolution;
use Facade\IgnitionContracts\Solution;
use Illuminate\Support\Facades\Blade;

class SuggestCorrectVariableNameSolution implements Solution
{
Expand Down
1 change: 0 additions & 1 deletion tests/Solutions/UndefinedVariableSolutionProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public function it_can_recommend_fixing_a_variable_name_typo()
$this->assertTrue(Str::contains($solutions[0]->getSolutionDescription(), 'Did you mean `$footerDescription`?'));
}


protected function getUndefinedVariableException(): ViewException
{
return new ViewException('Undefined variable: notSet (View: ./views/welcome.blade.php)');
Expand Down

0 comments on commit ee8fd36

Please sign in to comment.