Skip to content

Commit

Permalink
Fix iterable not being detected as a reserved type in TypeAnalysis
Browse files Browse the repository at this point in the history
  • Loading branch information
ntzm committed Jul 14, 2018
1 parent 0790602 commit b4b4486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Tokenizer/Analyzer/Analysis/TypeAnalysis.php
Expand Up @@ -33,7 +33,7 @@ final class TypeAnalysis implements StartEndTokenAwareAnalysis
'bool',
'callable',
'int',
'iteratable',
'iterable',
'float',
'mixed',
'numeric',
Expand Down
2 changes: 1 addition & 1 deletion tests/Tokenizer/Analyzer/Analysis/TypeAnalysisTest.php
Expand Up @@ -68,7 +68,7 @@ public function provideReservedCases()
['bool', true],
['callable', true],
['int', true],
['iteratable', true],
['iterable', true],
['float', true],
['mixed', true],
['numeric', true],
Expand Down

0 comments on commit b4b4486

Please sign in to comment.