@@ -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 |
@@ -11,6 +11,11 @@ |
||
11 | 11 | private $lineNumber; |
12 | 12 | private $unexpected; |
13 | 13 | |
14 | + /** |
|
15 | + * @param string $filePath |
|
16 | + * @param integer $lineNumber |
|
17 | + * @param string $unexpected |
|
18 | + */ |
|
14 | 19 | public function __construct($filePath = null, $lineNumber = null, $unexpected = null) |
15 | 20 | { |
16 | 21 | $this->filePath = $filePath; |
@@ -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; |
@@ -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; |