diff --git a/composer.json b/composer.json index a1afb129f..c5c4d4b08 100644 --- a/composer.json +++ b/composer.json @@ -54,7 +54,7 @@ }, "conflict": { "laravel/framework": "<10.48.8", - "orchestra/testbench-core": "<8.23.9 || (>9.0 <9.5.2)", + "orchestra/testbench-core": "<8.23.9", "nesbot/carbon": "<2.66.0" }, "autoload": { diff --git a/src/Screen/Concerns/Makeable.php b/src/Screen/Concerns/Makeable.php index 7e55067a7..4a995516a 100644 --- a/src/Screen/Concerns/Makeable.php +++ b/src/Screen/Concerns/Makeable.php @@ -8,11 +8,8 @@ trait Makeable { /** * Create a new Field element. - * - * - * @return static */ - public static function make(?string $name = null): self + public static function make(?string $name = null): static { return (new static)->name($name); } diff --git a/tests/Feature/Platform/SearchTest.php b/tests/Feature/Platform/SearchTest.php index fedc98a1a..33d3e4ad5 100644 --- a/tests/Feature/Platform/SearchTest.php +++ b/tests/Feature/Platform/SearchTest.php @@ -4,14 +4,11 @@ namespace Orchid\Tests\Feature\Platform; -use Illuminate\Foundation\Testing\RefreshDatabase; use Orchid\Tests\App\SearchUser; use Orchid\Tests\TestFeatureCase; class SearchTest extends TestFeatureCase { - use RefreshDatabase; - public function testSearchCompactNotRecords(): void { $this