Skip to content

Zend framework use empty string instead of null#2

Merged
Naktibalda merged 1 commit intoCodeception:masterfrom
svycka:patch-1
Jan 23, 2020
Merged

Zend framework use empty string instead of null#2
Naktibalda merged 1 commit intoCodeception:masterfrom
svycka:patch-1

Conversation

@svycka
Copy link
Copy Markdown
Contributor

@svycka svycka commented Jan 23, 2020

In some cases for example when converting zend to psr7 request null content causes error: fwrite() expects parameter 2 to be string, null given it seems zend uses '' instead of null for this and an empty string is the default value for Zend request

@svycka svycka requested a review from Naktibalda January 23, 2020 13:49
@Naktibalda Naktibalda merged commit 898bd6a into Codeception:master Jan 23, 2020
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.

3 participants