Skip to content

Commit a867f39

Browse files
mfnd3v2a
authored andcommitted
Adapt snapshot testcase
1 parent f2944c1 commit a867f39

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/Console/ModelsCommand/ArrayCastsWithComment/Test.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
class Test extends AbstractModelsCommand
1111
{
12+
/**
13+
* The generated snapshot is wrong until
14+
* https://github.com/barryvdh/laravel-ide-helper/issues/1505 is fixed
15+
*/
1216
public function test(): void
1317
{
1418
$command = $this->app->make(ModelsCommand::class);

tests/Console/ModelsCommand/ArrayCastsWithComment/__snapshots__/Test__test__1.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
* @property string $cast_to_bool
2929
* @property string $cast_to_boolean
3030
* @property string $cast_to_object
31+
* @property array $cast_to_array
32+
* @property array $cast_to_json
33+
* @property \Illuminate\Support\Collection $cast_to_collection
3134
* @property string $cast_to_date
3235
* @property string $cast_to_datetime
3336
* @property string $cast_to_date_serialization

0 commit comments

Comments
 (0)