Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 18, 2023
1 parent a580c50 commit 04831bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/PhpGenerator/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class Helpers
// built-in types
'string' => 1, 'int' => 1, 'float' => 1, 'bool' => 1, 'array' => 1, 'object' => 1,
'callable' => 1, 'iterable' => 1, 'void' => 1, 'null' => 1, 'mixed' => 1, 'false' => 1,
'never' => 1,
'never' => 1, 'true' => 1,

// class keywords
'self' => 1, 'parent' => 1, 'static' => 1,
Expand All @@ -42,9 +42,6 @@ final class Helpers
'__TRAIT__' => 1, '__FUNCTION__' => 1, '__METHOD__' => 1, '__LINE__' => 1, '__FILE__' => 1, '__DIR__' => 1,
'__NAMESPACE__' => 1, 'fn' => 1, 'match' => 1, 'enum' => 1, 'abstract' => 1, 'final' => 1,
'private' => 1, 'protected' => 1, 'public' => 1, 'readonly' => 1,

// additional reserved class names
'true' => 1,
];

/** @deprecated */
Expand Down

0 comments on commit 04831bf

Please sign in to comment.