We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b2ec87 commit 77fc16bCopy full SHA for 77fc16b
tests/Foo.php
@@ -9,7 +9,7 @@
9
class Foo extends Regex
10
{
11
public $description = 'Bar';
12
-
+
13
/**
14
* Return the Regex that the values are validated against.
15
*
tests/RegexTest.php
@@ -19,7 +19,7 @@ public function regexClassProvider()
19
[
20
new class() extends Regex {
21
public $name = 'Foo';
22
23
24
25
@@ -36,10 +36,7 @@ protected function regex(): string
36
},
37
],
38
39
- new class([
40
- 'name' => 'Foo',
41
- 'description' => 'Bar',
42
- ]) extends Regex {
+ new class(['name' => 'Foo', 'description' => 'Bar']) extends Regex {
43
44
45
0 commit comments