Skip to content

Commit 067dbe3

Browse files
committed
Fix
1 parent 472feeb commit 067dbe3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/PHPStan/Rules/Methods/data/countable-bug.php

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class Foo implements \Countable
99
*
1010
* @return int Number of packages
1111
*/
12+
#[\ReturnTypeWillChange]
1213
public function count()
1314
{
1415
return 1;

0 commit comments

Comments
 (0)