Skip to content

Added int to StaticTypeMapper#2461

Merged
TomasVotruba merged 1 commit intorectorphp:masterfrom
lulco:fix-static-type-mapper
Dec 22, 2019
Merged

Added int to StaticTypeMapper#2461
TomasVotruba merged 1 commit intorectorphp:masterfrom
lulco:fix-static-type-mapper

Conversation

@lulco
Copy link
Copy Markdown
Contributor

@lulco lulco commented Dec 20, 2019

I've got this error

In StaticTypeMapper.php line 543:
                                                                                
  [Rector\Exception\NotImplementedException]                                    
  Rector\NodeTypeResolver\StaticTypeMapper::mapStringToPhpParserNode for "int"

when applying rule:

Rector\Rector\Typehint\ParentTypehintedArgumentRector:
    Nette\Forms\Container:
        addSelect:
            $size: 'int'

@TomasVotruba TomasVotruba merged commit 7040a5c into rectorphp:master Dec 22, 2019
@TomasVotruba
Copy link
Copy Markdown
Member

Thanks

@lulco lulco deleted the fix-static-type-mapper branch December 2, 2020 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants