Skip to content

Commit 4889f9e

Browse files
committed
Const types are not released until PHP 8.3
1 parent 03f15fa commit 4889f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Rules/Keywords/ClassThatContainsConst.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
class ClassThatContainsConst
88
{
9-
public const string FILE_EXISTS = 'include-me-to-prove-you-work.txt';
10-
public const string FILE_DOES_NOT_EXIST = 'a-file-that-does-not-exist.php';
9+
public const FILE_EXISTS = 'include-me-to-prove-you-work.txt';
10+
public const FILE_DOES_NOT_EXIST = 'a-file-that-does-not-exist.php';
1111
}

0 commit comments

Comments
 (0)