mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
fix: Model's --write duplicates array properties (#1594)
* Use the bug-fixed version of the upstream library * Updated the test for fixed features to correctly expect
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1",
|
"php": "^8.1",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"barryvdh/reflection-docblock": "^2.1.1",
|
"barryvdh/reflection-docblock": "^2.1.2",
|
||||||
"composer/class-map-generator": "^1.0",
|
"composer/class-map-generator": "^1.0",
|
||||||
"illuminate/console": "^10 || ^11",
|
"illuminate/console": "^10 || ^11",
|
||||||
"illuminate/database": "^10.38 || ^11",
|
"illuminate/database": "^10.38 || ^11",
|
||||||
|
|||||||
@@ -9,10 +9,6 @@ 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,9 +28,6 @@ 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