Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 04831bf

Browse files
committed
typo
1 parent a580c50 commit 04831bf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎src/PhpGenerator/Helpers.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class Helpers
2525
// built-in types
2626
'string' => 1, 'int' => 1, 'float' => 1, 'bool' => 1, 'array' => 1, 'object' => 1,
2727
'callable' => 1, 'iterable' => 1, 'void' => 1, 'null' => 1, 'mixed' => 1, 'false' => 1,
28-
'never' => 1,
28+
'never' => 1,'true' => 1,
2929

3030
// class keywords
3131
'self' => 1, 'parent' => 1, 'static' => 1,
@@ -42,9 +42,6 @@ final class Helpers
4242
'__TRAIT__' => 1, '__FUNCTION__' => 1, '__METHOD__' => 1, '__LINE__' => 1, '__FILE__' => 1, '__DIR__' => 1,
4343
'__NAMESPACE__' => 1, 'fn' => 1, 'match' => 1, 'enum' => 1, 'abstract' => 1, 'final' => 1,
4444
'private' => 1, 'protected' => 1, 'public' => 1, 'readonly' => 1,
45-
46-
// additional reserved class names
47-
'true' => 1,
4845
];
4946

5047
/** @deprecated */

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /