@@ -2,18 +2,18 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Facade\Ignition\SolutionProviders; |
| 4 | 4 | |
| 5 | -use Throwable; |
|
| 6 | -use Illuminate\Support\Arr; |
|
| 7 | -use InvalidArgumentException; |
|
| 8 | -use Illuminate\Support\Facades\View; |
|
| 9 | -use Symfony\Component\Finder\Finder; |
|
| 10 | -use Symfony\Component\Finder\SplFileInfo; |
|
| 11 | 5 | use Facade\IgnitionContracts\BaseSolution; |
| 6 | +use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
| 12 | 7 | use Facade\Ignition\Exceptions\ViewException; |
| 13 | -use Facade\Ignition\Support\StringComparator; |
|
| 14 | 8 | use Facade\Ignition\Solutions\CreateViewFileSolution; |
| 15 | 9 | use Facade\Ignition\Solutions\UpdateViewNameSolution; |
| 16 | -use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
| 10 | +use Facade\Ignition\Support\StringComparator; |
|
| 11 | +use Illuminate\Support\Arr; |
|
| 12 | +use Illuminate\Support\Facades\View; |
|
| 13 | +use InvalidArgumentException; |
|
| 14 | +use Symfony\Component\Finder\Finder; |
|
| 15 | +use Symfony\Component\Finder\SplFileInfo; |
|
| 16 | +use Throwable; |
|
| 17 | 17 | |
| 18 | 18 | class ViewNotFoundSolutionProvider implements HasSolutionsForThrowable |
| 19 | 19 | { |
@@ -10,6 +10,9 @@ |
||
| 10 | 10 | { |
| 11 | 11 | private $viewName; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $viewName |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct($viewName = null) |
| 14 | 17 | { |
| 15 | 18 | $this->viewName = $viewName; |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Facade\Ignition\Solutions; |
| 4 | 4 | |
| 5 | +use Facade\IgnitionContracts\RunnableSolution; |
|
| 5 | 6 | use Illuminate\Support\Facades\View; |
| 6 | 7 | use Symfony\Component\Filesystem\Filesystem; |
| 7 | -use Facade\IgnitionContracts\RunnableSolution; |
|
| 8 | 8 | |
| 9 | 9 | class CreateViewFileSolution implements RunnableSolution |
| 10 | 10 | { |
@@ -9,6 +9,9 @@ |
||
| 9 | 9 | private $missingView; |
| 10 | 10 | private $suggestedView; |
| 11 | 11 | |
| 12 | + /** |
|
| 13 | + * @param string $missingView |
|
| 14 | + */ |
|
| 12 | 15 | public function __construct($missingView = null, $suggestedView = null, $controllerPath = null) |
| 13 | 16 | { |
| 14 | 17 | $this->missingView = $missingView; |