Skip to content

substr_replace return type extension#1084

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
adaamz:substr-replace-return-type-extension
Jun 23, 2018
Merged

substr_replace return type extension#1084
ondrejmirtes merged 1 commit intophpstan:masterfrom
adaamz:substr-replace-return-type-extension

Conversation

@adaamz
Copy link
Contributor

@adaamz adaamz commented Jun 22, 2018

We can recognize return type of substr_replace function, based on #1 parameter string.
http://php.net/manual/en/function.substr-replace.php

@ondrejmirtes ondrejmirtes merged commit 2092a46 into phpstan:master Jun 23, 2018
@ondrejmirtes
Copy link
Member

Thanks!

@adaamz adaamz deleted the substr-replace-return-type-extension branch June 23, 2018 19:01
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