This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Merge pull request #35 from tanhongit/main #3
Annotations
10 errors
Run PHPStan:
src/Helpers/ConfigHelper.php#L26
Cannot access offset mixed on mixed.
|
Run PHPStan:
src/Helpers/ConfigHelper.php#L30
Parameter #1 $defaults of method CSlant\LaravelGenerator\Helpers\ConfigHelper::mergeConfig() expects array, mixed given.
|
Run PHPStan:
src/Helpers/ConfigHelper.php#L30
Parameter #2 $generatorName of method CSlant\LaravelGenerator\Helpers\ConfigHelper::mergeConfig() expects array, mixed given.
|
Run PHPStan:
src/Http/Controllers/Asset/AssetController.php#L24
Parameter #1 $asset of function laravel_generator_dist_path expects string|null, mixed given.
|
Run PHPStan:
src/Http/Controllers/Asset/AssetController.php#L30
Offset 'extension' does not exist on array{dirname?: string, basename: string, extension?: string, filename: string}.
|
Run PHPStan:
src/Http/Controllers/Asset/AssetController.php#L30
Parameter #1 $path of function pathinfo expects string, mixed given.
|
Run PHPStan:
src/Http/Controllers/Detect/DetectController.php#L25
Cannot call method getExtension() on mixed.
|
Run PHPStan:
src/Http/Controllers/Detect/DetectController.php#L25
Cannot call method isFile() on mixed.
|
Run PHPStan:
src/Http/Controllers/Detect/DetectController.php#L35
Method CSlant\LaravelGenerator\Http\Controllers\Detect\DetectController::detect() should return array<array> but returns array<int<0, max>, string>.
|
Run PHPStan:
src/Http/Controllers/Detect/DetectController.php#L42
Method CSlant\LaravelGenerator\Http\Controllers\Detect\DetectController::getClassFromFile() has parameter $file with no type specified.
|
The logs for this run have expired and are no longer available.
Loading