@@ -2,13 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Facade\Ignition\SolutionProviders; |
4 | 4 | |
5 | +use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
6 | +use Facade\Ignition\Solutions\MissingPackageSolution; |
|
5 | 7 | use Facade\Ignition\Support\Packagist\Package; |
6 | 8 | use Facade\Ignition\Support\Packagist\Packagist; |
7 | -use Throwable; |
|
8 | 9 | use Illuminate\Support\Str; |
9 | -use Facade\Ignition\Solutions\MissingPackageSolution; |
|
10 | -use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
11 | -use Facade\IgnitionContracts\Solution; |
|
10 | +use Throwable; |
|
12 | 11 | |
13 | 12 | class MissingPackageSolutionProvider implements HasSolutionsForThrowable |
14 | 13 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Facade\Ignition\SolutionProviders; |
4 | 4 | |
5 | +use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
5 | 6 | use Facade\IgnitionContracts\ProvidesSolution; |
6 | -use Throwable; |
|
7 | -use Illuminate\Support\Collection; |
|
8 | 7 | use Facade\IgnitionContracts\Solution; |
9 | -use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
10 | 8 | use Facade\IgnitionContracts\SolutionProviderRepository as SolutionProviderRepositoryContract; |
9 | +use Illuminate\Support\Collection; |
|
10 | +use Throwable; |
|
11 | 11 | |
12 | 12 | class SolutionProviderRepository implements SolutionProviderRepositoryContract |
13 | 13 | { |
@@ -2,14 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace Facade\Ignition\SolutionProviders; |
4 | 4 | |
5 | -use Facade\Ignition\Exceptions\ViewException; |
|
6 | 5 | use Facade\IgnitionContracts\BaseSolution; |
6 | +use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
7 | +use Facade\Ignition\Exceptions\ViewException; |
|
8 | +use Facade\Ignition\Support\StringComparator; |
|
7 | 9 | use Illuminate\Support\Arr; |
8 | 10 | use Illuminate\Support\Facades\View; |
9 | 11 | use InvalidArgumentException; |
10 | -use Facade\Ignition\Support\StringComparator; |
|
11 | -use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
12 | -use Facade\IgnitionContracts\Solution; |
|
13 | 12 | use Symfony\Component\Finder\Finder; |
14 | 13 | use Symfony\Component\Finder\SplFileInfo; |
15 | 14 | use Throwable; |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Facade\Ignition\Solutions; |
4 | 4 | |
5 | -use Facade\Ignition\Support\Packagist\Package; |
|
6 | 5 | use Facade\IgnitionContracts\Solution; |
6 | +use Facade\Ignition\Support\Packagist\Package; |
|
7 | 7 | |
8 | 8 | class MissingPackageSolution implements Solution |
9 | 9 | { |
@@ -36,6 +36,9 @@ |
||
36 | 36 | return 1; |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string $value |
|
41 | + */ |
|
39 | 42 | public function compileString($value) |
40 | 43 | { |
41 | 44 | $value = $this->addEchoLineNumbers($value); |