Skip to content

fix issue when $classLike its null at AddParamTypeDeclarationRector#1218

Closed
bitgandtter wants to merge 2 commits intorectorphp:mainfrom
bitgandtter:main
Closed

fix issue when $classLike its null at AddParamTypeDeclarationRector#1218
bitgandtter wants to merge 2 commits intorectorphp:mainfrom
bitgandtter:main

Conversation

@bitgandtter
Copy link
Copy Markdown
Contributor

No description provided.

@samsonasik
Copy link
Copy Markdown
Member

You should can change line 94 to ClassLike::class instead of Class_ as already checked in shouldSkip() method for ClassLike

@samsonasik
Copy link
Copy Markdown
Member

I can see this possible error at codeigniter4/CodeIgniter4#5320 (comment) . I will create separate PR for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants