mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2025-01-22 05:11:18 +01:00
Improve bool type
This commit is contained in:
parent
084742d798
commit
f11cfff931
@ -72,7 +72,7 @@ class FakeModelsCommand extends \Barryvdh\LaravelIdeHelper\Console\ModelsCommand
|
||||
switch (config('database.default')) {
|
||||
case 'sqlite':
|
||||
case 'mysql':
|
||||
$type = 'int';
|
||||
$type = '0|1|bool';
|
||||
break;
|
||||
default:
|
||||
$type = 'bool';
|
||||
|
Loading…
x
Reference in New Issue
Block a user