diff --git a/tests/HttpOptionsTest.php b/tests/HttpOptionsTest.php index bccc5c9..bf9a0ab 100644 --- a/tests/HttpOptionsTest.php +++ b/tests/HttpOptionsTest.php @@ -196,7 +196,7 @@ public function json_ajax_constructor_with_no_value(): void */ public function create_with_self(): void { - $options = new class() extends HttpOptions {}; + $options = new class extends HttpOptions {}; $this->assertSame($options, HttpOptions::create($options)); }