@@ -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,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; |
@@ -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; |
@@ -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; |
@@ -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; |
@@ -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; |