From 4d4381bb4ea9dafeefd1f366599d4fa26100221b Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Thu, 6 Jun 2024 12:56:59 +0300 Subject: [PATCH] fix return type for Factory --- composer.lock | 224 +++++++++++++++++------------------ src/Models/Collection.php | 3 +- src/Models/Field.php | 3 +- src/Models/FieldResponse.php | 3 +- src/Models/Form.php | 3 +- src/Models/Response.php | 3 +- src/Models/Section.php | 3 +- 7 files changed, 124 insertions(+), 118 deletions(-) diff --git a/composer.lock b/composer.lock index 32c2ed52..59cdd2c2 100644 --- a/composer.lock +++ b/composer.lock @@ -1428,16 +1428,16 @@ }, { "name": "filament/actions", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "bc7f7d3599ac1b72a8f2a0db3d26d11fda0ac7c9" + "reference": "90ac874761342c2c0cfed5bb8e5c678fe695da23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/bc7f7d3599ac1b72a8f2a0db3d26d11fda0ac7c9", - "reference": "bc7f7d3599ac1b72a8f2a0db3d26d11fda0ac7c9", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/90ac874761342c2c0cfed5bb8e5c678fe695da23", + "reference": "90ac874761342c2c0cfed5bb8e5c678fe695da23", "shasum": "" }, "require": { @@ -1477,20 +1477,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-05-30T12:37:02+00:00" + "time": "2024-06-05T09:38:27+00:00" }, { "name": "filament/filament", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "afc1ca72ee4eaa3d9c9513c3ae0f4665dc5a3c3e" + "reference": "8d08331f662be5aed10977fe024d35dd15370f74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/afc1ca72ee4eaa3d9c9513c3ae0f4665dc5a3c3e", - "reference": "afc1ca72ee4eaa3d9c9513c3ae0f4665dc5a3c3e", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/8d08331f662be5aed10977fe024d35dd15370f74", + "reference": "8d08331f662be5aed10977fe024d35dd15370f74", "shasum": "" }, "require": { @@ -1542,20 +1542,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-05-30T18:31:53+00:00" + "time": "2024-06-05T09:38:31+00:00" }, { "name": "filament/forms", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "ae40476b2506835b3c18e296cb823bd02f870cbb" + "reference": "2b8a5d64f547a5e67f498bed7938b4554c373bf3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/ae40476b2506835b3c18e296cb823bd02f870cbb", - "reference": "ae40476b2506835b3c18e296cb823bd02f870cbb", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/2b8a5d64f547a5e67f498bed7938b4554c373bf3", + "reference": "2b8a5d64f547a5e67f498bed7938b4554c373bf3", "shasum": "" }, "require": { @@ -1598,20 +1598,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-05-30T18:31:51+00:00" + "time": "2024-06-05T09:38:28+00:00" }, { "name": "filament/infolists", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "e95513c77adcd9cae07713f49cc7bb45401cbe22" + "reference": "cbaecd02f7b7fd10b28ff3fe754613136f18fbaa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/e95513c77adcd9cae07713f49cc7bb45401cbe22", - "reference": "e95513c77adcd9cae07713f49cc7bb45401cbe22", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/cbaecd02f7b7fd10b28ff3fe754613136f18fbaa", + "reference": "cbaecd02f7b7fd10b28ff3fe754613136f18fbaa", "shasum": "" }, "require": { @@ -1649,11 +1649,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-05-30T18:31:49+00:00" + "time": "2024-06-05T09:38:30+00:00" }, { "name": "filament/notifications", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", @@ -1705,7 +1705,7 @@ }, { "name": "filament/spatie-laravel-translatable-plugin", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-translatable-plugin.git", @@ -1750,16 +1750,16 @@ }, { "name": "filament/support", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "67e5a58a47f4411a25bd47b931556aa570944f4e" + "reference": "9c23c494d83a6fbac4b5e2016952619b3e7e69f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/67e5a58a47f4411a25bd47b931556aa570944f4e", - "reference": "67e5a58a47f4411a25bd47b931556aa570944f4e", + "url": "https://api.github.com/repos/filamentphp/support/zipball/9c23c494d83a6fbac4b5e2016952619b3e7e69f7", + "reference": "9c23c494d83a6fbac4b5e2016952619b3e7e69f7", "shasum": "" }, "require": { @@ -1804,11 +1804,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-05-30T18:32:10+00:00" + "time": "2024-06-05T09:38:45+00:00" }, { "name": "filament/tables", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", @@ -1861,16 +1861,16 @@ }, { "name": "filament/widgets", - "version": "v3.2.85", + "version": "v3.2.86", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", - "reference": "8f30d0120641d055a9ab47689d19258a1d670444" + "reference": "0253f4312909a17e2d80b70021daae3f1659e7da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/widgets/zipball/8f30d0120641d055a9ab47689d19258a1d670444", - "reference": "8f30d0120641d055a9ab47689d19258a1d670444", + "url": "https://api.github.com/repos/filamentphp/widgets/zipball/0253f4312909a17e2d80b70021daae3f1659e7da", + "reference": "0253f4312909a17e2d80b70021daae3f1659e7da", "shasum": "" }, "require": { @@ -1901,7 +1901,7 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-05-20T16:26:42+00:00" + "time": "2024-06-05T09:38:52+00:00" }, { "name": "flowframe/laravel-trend", @@ -3783,16 +3783,16 @@ }, { "name": "nesbot/carbon", - "version": "2.72.3", + "version": "2.72.5", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83" + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/0c6fd108360c562f6e4fd1dedb8233b423e91c83", - "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/afd46589c216118ecd48ff2b95d77596af1e57ed", + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed", "shasum": "" }, "require": { @@ -3826,8 +3826,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-3.x": "3.x-dev", - "dev-master": "2.x-dev" + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev" }, "laravel": { "providers": [ @@ -3886,7 +3886,7 @@ "type": "tidelift" } ], - "time": "2024-01-25T10:35:09+00:00" + "time": "2024-06-03T19:18:41+00:00" }, { "name": "nette/schema", @@ -5376,16 +5376,16 @@ }, { "name": "symfony/css-selector", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "843f2f7ac5e4c5bf0ec77daef23ca6d4d8922adc" + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/843f2f7ac5e4c5bf0ec77daef23ca6d4d8922adc", - "reference": "843f2f7ac5e4c5bf0ec77daef23ca6d4d8922adc", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/1c7cee86c6f812896af54434f8ce29c8d94f9ff4", + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4", "shasum": "" }, "require": { @@ -5421,7 +5421,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.1.0" + "source": "https://github.com/symfony/css-selector/tree/v7.1.1" }, "funding": [ { @@ -5437,7 +5437,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/deprecation-contracts", @@ -5583,16 +5583,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "522d2772d6c7bab843b0c52466dc7844622bacc2" + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/522d2772d6c7bab843b0c52466dc7844622bacc2", - "reference": "522d2772d6c7bab843b0c52466dc7844622bacc2", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", "shasum": "" }, "require": { @@ -5643,7 +5643,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.0" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.1" }, "funding": [ { @@ -5659,7 +5659,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -5803,16 +5803,16 @@ }, { "name": "symfony/html-sanitizer", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/html-sanitizer.git", - "reference": "a9162f2ca36a200b666f7cd1b1b2f28d1b7dc55d" + "reference": "737cbaa8082b696d0574afd91b9f471eca67fc65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/a9162f2ca36a200b666f7cd1b1b2f28d1b7dc55d", - "reference": "a9162f2ca36a200b666f7cd1b1b2f28d1b7dc55d", + "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/737cbaa8082b696d0574afd91b9f471eca67fc65", + "reference": "737cbaa8082b696d0574afd91b9f471eca67fc65", "shasum": "" }, "require": { @@ -5852,7 +5852,7 @@ "sanitizer" ], "support": { - "source": "https://github.com/symfony/html-sanitizer/tree/v7.1.0" + "source": "https://github.com/symfony/html-sanitizer/tree/v7.1.1" }, "funding": [ { @@ -5868,7 +5868,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:29:19+00:00" + "time": "2024-05-31T14:55:39+00:00" }, { "name": "symfony/http-foundation", @@ -7166,16 +7166,16 @@ }, { "name": "symfony/string", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "6f41b185e742737917e6f2e3eca37767fba5f17a" + "reference": "60bc311c74e0af215101235aa6f471bcbc032df2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/6f41b185e742737917e6f2e3eca37767fba5f17a", - "reference": "6f41b185e742737917e6f2e3eca37767fba5f17a", + "url": "https://api.github.com/repos/symfony/string/zipball/60bc311c74e0af215101235aa6f471bcbc032df2", + "reference": "60bc311c74e0af215101235aa6f471bcbc032df2", "shasum": "" }, "require": { @@ -7233,7 +7233,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.0" + "source": "https://github.com/symfony/string/tree/v7.1.1" }, "funding": [ { @@ -7249,7 +7249,7 @@ "type": "tidelift" } ], - "time": "2024-05-17T10:55:18+00:00" + "time": "2024-06-04T06:40:14+00:00" }, { "name": "symfony/translation", @@ -9879,16 +9879,16 @@ }, { "name": "orchestra/testbench", - "version": "v8.23.1", + "version": "v8.23.2", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "70d661a02095dc7d6b667a557be268e805394d8d" + "reference": "c9f89b66aaa245a2e36f046aa431587ba46a3f2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/70d661a02095dc7d6b667a557be268e805394d8d", - "reference": "70d661a02095dc7d6b667a557be268e805394d8d", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/c9f89b66aaa245a2e36f046aa431587ba46a3f2e", + "reference": "c9f89b66aaa245a2e36f046aa431587ba46a3f2e", "shasum": "" }, "require": { @@ -9896,7 +9896,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^10.48.10", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.24.2", + "orchestra/testbench-core": "^8.24.3", "orchestra/workbench": "^1.4.1 || ^8.5", "php": "^8.1", "phpunit/phpunit": "^9.6 || ^10.1", @@ -9928,22 +9928,22 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v8.23.1" + "source": "https://github.com/orchestral/testbench/tree/v8.23.2" }, - "time": "2024-06-01T10:39:39+00:00" + "time": "2024-06-04T12:24:55+00:00" }, { "name": "orchestra/testbench-core", - "version": "v8.24.2", + "version": "v8.24.3", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "756519effeac591971c313ee830ed625ffac8681" + "reference": "c4daf2f1929242f4e4cb33b5ebdaaf631df30a46" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/756519effeac591971c313ee830ed625ffac8681", - "reference": "756519effeac591971c313ee830ed625ffac8681", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/c4daf2f1929242f4e4cb33b5ebdaaf631df30a46", + "reference": "c4daf2f1929242f4e4cb33b5ebdaaf631df30a46", "shasum": "" }, "require": { @@ -10022,7 +10022,7 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2024-06-01T09:24:14+00:00" + "time": "2024-06-04T05:00:04+00:00" }, { "name": "orchestra/workbench", @@ -13610,16 +13610,16 @@ }, { "name": "symfony/cache", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "c36a10e6456b32e40d1ef516b3a2749883f9117b" + "reference": "760294dc7158372699dccd077965c16c328f8719" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/c36a10e6456b32e40d1ef516b3a2749883f9117b", - "reference": "c36a10e6456b32e40d1ef516b3a2749883f9117b", + "url": "https://api.github.com/repos/symfony/cache/zipball/760294dc7158372699dccd077965c16c328f8719", + "reference": "760294dc7158372699dccd077965c16c328f8719", "shasum": "" }, "require": { @@ -13687,7 +13687,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v7.1.0" + "source": "https://github.com/symfony/cache/tree/v7.1.1" }, "funding": [ { @@ -13703,7 +13703,7 @@ "type": "tidelift" } ], - "time": "2024-05-28T08:39:33+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/cache-contracts", @@ -13783,16 +13783,16 @@ }, { "name": "symfony/filesystem", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "8ecdde25881598f86cdd7cfe8b25302b66a402e9" + "reference": "802e87002f919296c9f606457d9fa327a0b3d6b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/8ecdde25881598f86cdd7cfe8b25302b66a402e9", - "reference": "8ecdde25881598f86cdd7cfe8b25302b66a402e9", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/802e87002f919296c9f606457d9fa327a0b3d6b2", + "reference": "802e87002f919296c9f606457d9fa327a0b3d6b2", "shasum": "" }, "require": { @@ -13829,7 +13829,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.1.0" + "source": "https://github.com/symfony/filesystem/tree/v7.1.1" }, "funding": [ { @@ -13845,20 +13845,20 @@ "type": "tidelift" } ], - "time": "2024-05-17T10:55:18+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/http-client", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "2266f9813ed7d8c84e04627edead7b7fd249d6e9" + "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/2266f9813ed7d8c84e04627edead7b7fd249d6e9", - "reference": "2266f9813ed7d8c84e04627edead7b7fd249d6e9", + "url": "https://api.github.com/repos/symfony/http-client/zipball/1ec24a54d1885b11e862d6ddab31bd6749720d20", + "reference": "1ec24a54d1885b11e862d6ddab31bd6749720d20", "shasum": "" }, "require": { @@ -13923,7 +13923,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v7.1.0" + "source": "https://github.com/symfony/http-client/tree/v7.1.1" }, "funding": [ { @@ -13939,7 +13939,7 @@ "type": "tidelift" } ], - "time": "2024-05-13T15:35:37+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/http-client-contracts", @@ -14021,16 +14021,16 @@ }, { "name": "symfony/options-resolver", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "9564f64c16f99e29f252eafc642965e8fcb755ce" + "reference": "47aa818121ed3950acd2b58d1d37d08a94f9bf55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/9564f64c16f99e29f252eafc642965e8fcb755ce", - "reference": "9564f64c16f99e29f252eafc642965e8fcb755ce", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/47aa818121ed3950acd2b58d1d37d08a94f9bf55", + "reference": "47aa818121ed3950acd2b58d1d37d08a94f9bf55", "shasum": "" }, "require": { @@ -14068,7 +14068,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v7.1.0" + "source": "https://github.com/symfony/options-resolver/tree/v7.1.1" }, "funding": [ { @@ -14084,7 +14084,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/polyfill-iconv", @@ -14244,16 +14244,16 @@ }, { "name": "symfony/stopwatch", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "13c750a45ac43c45f45d944d22499768aa1b72d8" + "reference": "5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/13c750a45ac43c45f45d944d22499768aa1b72d8", - "reference": "13c750a45ac43c45f45d944d22499768aa1b72d8", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d", + "reference": "5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d", "shasum": "" }, "require": { @@ -14286,7 +14286,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v7.1.0" + "source": "https://github.com/symfony/stopwatch/tree/v7.1.1" }, "funding": [ { @@ -14302,20 +14302,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/var-exporter", - "version": "v7.1.0", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "353688d70dcd43e8f7a5cc13b9afba49d4946c39" + "reference": "db82c2b73b88734557cfc30e3270d83fa651b712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/353688d70dcd43e8f7a5cc13b9afba49d4946c39", - "reference": "353688d70dcd43e8f7a5cc13b9afba49d4946c39", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/db82c2b73b88734557cfc30e3270d83fa651b712", + "reference": "db82c2b73b88734557cfc30e3270d83fa651b712", "shasum": "" }, "require": { @@ -14362,7 +14362,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v7.1.0" + "source": "https://github.com/symfony/var-exporter/tree/v7.1.1" }, "funding": [ { @@ -14378,7 +14378,7 @@ "type": "tidelift" } ], - "time": "2024-05-22T10:14:54+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/yaml", diff --git a/src/Models/Collection.php b/src/Models/Collection.php index 6c471149..df48a86b 100644 --- a/src/Models/Collection.php +++ b/src/Models/Collection.php @@ -2,6 +2,7 @@ namespace LaraZeus\Bolt\Models; +use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -46,7 +47,7 @@ public function getValuesListAttribute(): ?string return null; } - protected static function newFactory(): CollectionFactory + protected static function newFactory(): Factory { return CollectionFactory::new(); } diff --git a/src/Models/Field.php b/src/Models/Field.php index 8ade8b24..ea262b72 100644 --- a/src/Models/Field.php +++ b/src/Models/Field.php @@ -2,6 +2,7 @@ namespace LaraZeus\Bolt\Models; +use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -52,7 +53,7 @@ protected static function booted(): void }); } - protected static function newFactory(): FieldFactory + protected static function newFactory(): Factory { return FieldFactory::new(); } diff --git a/src/Models/FieldResponse.php b/src/Models/FieldResponse.php index 17c844fc..c568bf14 100644 --- a/src/Models/FieldResponse.php +++ b/src/Models/FieldResponse.php @@ -2,6 +2,7 @@ namespace LaraZeus\Bolt\Models; +use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -29,7 +30,7 @@ public function getTable() return config('zeus-bolt.table-prefix') . 'field_responses'; } - protected static function newFactory(): FieldResponseFactory + protected static function newFactory(): Factory { return FieldResponseFactory::new(); } diff --git a/src/Models/Form.php b/src/Models/Form.php index 0d365be0..95482118 100644 --- a/src/Models/Form.php +++ b/src/Models/Form.php @@ -3,6 +3,7 @@ namespace LaraZeus\Bolt\Models; use Illuminate\Database\Eloquent\Casts\Attribute; +use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -100,7 +101,7 @@ public function getRouteKeyName(): string return 'slug'; } - protected static function newFactory(): FormFactory + protected static function newFactory(): Factory { return FormFactory::new(); } diff --git a/src/Models/Response.php b/src/Models/Response.php index 3a7334c5..6273d506 100644 --- a/src/Models/Response.php +++ b/src/Models/Response.php @@ -2,6 +2,7 @@ namespace LaraZeus\Bolt\Models; +use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -50,7 +51,7 @@ protected static function booted(): void }); } - protected static function newFactory(): ResponseFactory + protected static function newFactory(): Factory { return ResponseFactory::new(); } diff --git a/src/Models/Section.php b/src/Models/Section.php index 578e9157..048c1620 100644 --- a/src/Models/Section.php +++ b/src/Models/Section.php @@ -2,6 +2,7 @@ namespace LaraZeus\Bolt\Models; +use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -59,7 +60,7 @@ protected static function booted(): void }); } - protected static function newFactory(): SectionFactory + protected static function newFactory(): Factory { return SectionFactory::new(); }