Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b2b833c

Browse files
committedDec 20, 2024··
Fix
1 parent b1cebc2 commit b2b833c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/PHPStan/Rules/Traits/data/bug-12011.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#[Table(self::TABLE_NAME)]
99
trait MyTrait
1010
{
11-
private const int TABLE_NAME = 'table';
11+
private const int TABLE_NAME = 1;
1212
}
1313

1414
class X {

0 commit comments

Comments
 (0)
Please sign in to comment.