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 0ec424e commit 3ad5af4Copy full SHA for 3ad5af4
Tests/Caster/CasterTest.php
@@ -164,7 +164,7 @@ public function testAnonymousClass()
164
, $c
165
);
166
167
- $c = eval('return new class implements \Countable { private $foo = "foo"; public function count() { return 0; } };');
+ $c = eval('return new class implements \Countable { private $foo = "foo"; public function count(): int { return 0; } };');
168
169
$this->assertDumpMatchesFormat(
170
<<<'EOTXT'
0 commit comments