Skip to content

Commit 0e3758c

Browse files
committed
Merge branch '5.3' into 5.4
2 parents 883c425 + 3ad5af4 commit 0e3758c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Caster/CasterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public function testAnonymousClass()
164164
, $c
165165
);
166166

167-
$c = eval('return new class implements \Countable { private $foo = "foo"; public function count() { return 0; } };');
167+
$c = eval('return new class implements \Countable { private $foo = "foo"; public function count(): int { return 0; } };');
168168

169169
$this->assertDumpMatchesFormat(
170170
<<<'EOTXT'

0 commit comments

Comments
 (0)