fix: add string to id function in base factory #241
Annotations
4 errors
Run PHPStan:
src/Facades/Testing/RecordFactories/EstatePictureFactory.php#L24
Parameter #1 $id (int) of method Innobrain\OnOfficeAdapter\Facades\Testing\RecordFactories\EstatePictureFactory::id() is not contravariant with parameter #1 $id (int|string) of method Innobrain\OnOfficeAdapter\Facades\Testing\RecordFactories\BaseFactory::id().
|
Run PHPStan:
src/Facades/Testing/RecordFactories/FileUploadFactory.php#L14
Parameter #1 $id (int) of method Innobrain\OnOfficeAdapter\Facades\Testing\RecordFactories\FileUploadFactory::id() is not contravariant with parameter #1 $id (int|string) of method Innobrain\OnOfficeAdapter\Facades\Testing\RecordFactories\BaseFactory::id().
|
Run PHPStan:
src/Facades/Testing/RecordFactories/MarketPlaceUnlockProviderFactory.php#L13
Parameter #1 $id (int) of method Innobrain\OnOfficeAdapter\Facades\Testing\RecordFactories\MarketPlaceUnlockProviderFactory::id() is not contravariant with parameter #1 $id (int|string) of method Innobrain\OnOfficeAdapter\Facades\Testing\RecordFactories\BaseFactory::id().
|
Run PHPStan
Process completed with exit code 1.
|
Loading