Adapt snapshot testcase

This commit is contained in:
Markus Podar
2024-02-03 20:56:57 +01:00
parent 850fc5fe7f
commit 9374952402
2 changed files with 7 additions and 0 deletions
@@ -9,6 +9,10 @@ use Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\AbstractModelsCommand;
class Test extends AbstractModelsCommand
{
/**
* The generated snapshot is wrong until
* https://github.com/barryvdh/laravel-ide-helper/issues/1505 is fixed
*/
public function test(): void
{
$command = $this->app->make(ModelsCommand::class);
@@ -28,6 +28,9 @@ use Illuminate\Database\Eloquent\Model;
* @property string $cast_to_bool
* @property string $cast_to_boolean
* @property string $cast_to_object
* @property array $cast_to_array
* @property array $cast_to_json
* @property \Illuminate\Support\Collection $cast_to_collection
* @property string $cast_to_date
* @property string $cast_to_datetime
* @property string $cast_to_date_serialization