| @@ -70,6 +70,9 @@ | ||
| 70 | 70 | })->first(); | 
| 71 | 71 | } | 
| 72 | 72 | |
| 73 | + /** | |
| 74 | + * @param string $class | |
| 75 | + */ | |
| 73 | 76 | protected function getAvailableMethods($class): Collection | 
| 74 | 77 |      { | 
| 75 | 78 | $class = new ReflectionClass($class); | 
| @@ -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 |  { | 
| @@ -2,10 +2,10 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Facade\Ignition\SolutionProviders; | 
| 4 | 4 | |
| 5 | +use Facade\IgnitionContracts\HasSolutionsForThrowable; | |
| 5 | 6 | use Facade\Ignition\Solutions\MissingPackageSolution; | 
| 6 | 7 | use Facade\Ignition\Support\Packagist\Package; | 
| 7 | 8 | use Facade\Ignition\Support\Packagist\Packagist; | 
| 8 | -use Facade\IgnitionContracts\HasSolutionsForThrowable; | |
| 9 | 9 | use Illuminate\Support\Str; | 
| 10 | 10 | use Throwable; | 
| 11 | 11 | |
| @@ -2,10 +2,10 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Facade\Ignition\SolutionProviders; | 
| 4 | 4 | |
| 5 | -use Facade\Ignition\Exceptions\ViewException; | |
| 6 | -use Facade\Ignition\Support\StringComparator; | |
| 7 | 5 | use Facade\IgnitionContracts\BaseSolution; | 
| 8 | 6 | use Facade\IgnitionContracts\HasSolutionsForThrowable; | 
| 7 | +use Facade\Ignition\Exceptions\ViewException; | |
| 8 | +use Facade\Ignition\Support\StringComparator; | |
| 9 | 9 | use Illuminate\Support\Arr; | 
| 10 | 10 | use Illuminate\Support\Facades\View; | 
| 11 | 11 | use InvalidArgumentException; | 
| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Facade\Ignition\SolutionProviders; | 
| 4 | 4 | |
| 5 | +use Facade\IgnitionContracts\HasSolutionsForThrowable; | |
| 5 | 6 | use Facade\Ignition\Solutions\SuggestImportSolution; | 
| 6 | 7 | use Facade\Ignition\Support\ComposerClassMap; | 
| 7 | -use Facade\IgnitionContracts\HasSolutionsForThrowable; | |
| 8 | 8 | use Throwable; | 
| 9 | 9 | |
| 10 | 10 | class MissingImportSolutionProvider implements HasSolutionsForThrowable | 
| @@ -13,6 +13,10 @@ | ||
| 13 | 13 | /** @var string */ | 
| 14 | 14 | private $viewFile; | 
| 15 | 15 | |
| 16 | + /** | |
| 17 | + * @param string $variableName | |
| 18 | + * @param string $viewFile | |
| 19 | + */ | |
| 16 | 20 | public function __construct($variableName = null, $viewFile = null, $suggested = null) | 
| 17 | 21 |      { | 
| 18 | 22 | $this->variableName = $variableName; | 
| @@ -2,9 +2,7 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Facade\Ignition\Solutions; | 
| 4 | 4 | |
| 5 | -use Facade\IgnitionContracts\RunnableSolution; | |
| 6 | 5 | use Facade\IgnitionContracts\Solution; | 
| 7 | -use Illuminate\Support\Facades\Blade; | |
| 8 | 6 | |
| 9 | 7 | class SuggestCorrectVariableNameSolution implements Solution | 
| 10 | 8 |  { | 
| @@ -13,6 +13,10 @@ | ||
| 13 | 13 | /** @var string */ | 
| 14 | 14 | private $viewFile; | 
| 15 | 15 | |
| 16 | + /** | |
| 17 | + * @param string $variableName | |
| 18 | + * @param string $viewFile | |
| 19 | + */ | |
| 16 | 20 | public function __construct($variableName = null, $viewFile = null) | 
| 17 | 21 |      { | 
| 18 | 22 | $this->variableName = $variableName; | 
| @@ -34,6 +34,9 @@ | ||
| 34 | 34 | /** @var array */ | 
| 35 | 35 | protected $defaultTabProps = []; | 
| 36 | 36 | |
| 37 | + /** | |
| 38 | + * @param Throwable $throwable | |
| 39 | + */ | |
| 37 | 40 | public function __construct(?Throwable $throwable, IgnitionConfig $ignitionConfig, Report $report, array $solutions) | 
| 38 | 41 |      { | 
| 39 | 42 | $this->throwable = $throwable; | 
| @@ -4,6 +4,7 @@ discard block | ||
| 4 | 4 | |
| 5 | 5 | use Facade\FlareClient\Flare; | 
| 6 | 6 | use Facade\FlareClient\Http\Client; | 
| 7 | +use Facade\IgnitionContracts\SolutionProviderRepository as SolutionProviderRepositoryContract; | |
| 7 | 8 | use Facade\Ignition\Commands\SolutionMakeCommand; | 
| 8 | 9 | use Facade\Ignition\Commands\TestCommand; | 
| 9 | 10 | use Facade\Ignition\Context\LaravelContextDetector; | 
| @@ -18,8 +19,8 @@ discard block | ||
| 18 | 19 | use Facade\Ignition\Http\Controllers\StyleController; | 
| 19 | 20 | use Facade\Ignition\Http\Middleware\IgnitionConfigValueEnabled; | 
| 20 | 21 | use Facade\Ignition\Http\Middleware\IgnitionEnabled; | 
| 21 | -use Facade\Ignition\Logger\FlareHandler; | |
| 22 | 22 | use Facade\Ignition\LogRecorder\LogRecorder; | 
| 23 | +use Facade\Ignition\Logger\FlareHandler; | |
| 23 | 24 | use Facade\Ignition\Middleware\AddDumps; | 
| 24 | 25 | use Facade\Ignition\Middleware\AddEnvironmentInformation; | 
| 25 | 26 | use Facade\Ignition\Middleware\AddGitInformation; | 
| @@ -46,7 +47,6 @@ discard block | ||
| 46 | 47 | use Facade\Ignition\SolutionProviders\ViewNotFoundSolutionProvider; | 
| 47 | 48 | use Facade\Ignition\Views\Engines\CompilerEngine; | 
| 48 | 49 | use Facade\Ignition\Views\Engines\PhpEngine; | 
| 49 | -use Facade\IgnitionContracts\SolutionProviderRepository as SolutionProviderRepositoryContract; | |
| 50 | 50 | use Illuminate\Foundation\Application; | 
| 51 | 51 | use Illuminate\Log\Events\MessageLogged; | 
| 52 | 52 | use Illuminate\Log\LogManager; |