Skip to content

Commit

Permalink
bug #3921 TypeAnalysis - Fix iterable not being detected as a reserve…
Browse files Browse the repository at this point in the history
…d type (ntzm)

This PR was merged into the 2.12 branch.

Discussion
----------

TypeAnalysis - Fix iterable not being detected as a reserved type

Commits
-------

b4b4486 Fix iterable not being detected as a reserved type in TypeAnalysis
  • Loading branch information
keradus committed Jul 20, 2018
2 parents 2086dc8 + b4b4486 commit 1c9553a
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 1c9553a

Please sign in to comment.