mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Adapt snapshot testcase
This commit is contained in:
@@ -9,6 +9,10 @@ use Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\AbstractModelsCommand;
|
|||||||
|
|
||||||
class Test extends 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
|
public function test(): void
|
||||||
{
|
{
|
||||||
$command = $this->app->make(ModelsCommand::class);
|
$command = $this->app->make(ModelsCommand::class);
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ use Illuminate\Database\Eloquent\Model;
|
|||||||
* @property string $cast_to_bool
|
* @property string $cast_to_bool
|
||||||
* @property string $cast_to_boolean
|
* @property string $cast_to_boolean
|
||||||
* @property string $cast_to_object
|
* @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_date
|
||||||
* @property string $cast_to_datetime
|
* @property string $cast_to_datetime
|
||||||
* @property string $cast_to_date_serialization
|
* @property string $cast_to_date_serialization
|
||||||
|
|||||||
Reference in New Issue
Block a user