Skip to content

Conversation

BogdanUngureanu
Copy link
Contributor

No description provided.

nullable_string = add_type_string(str, ZSTR_KNOWN(ZEND_STR_NULL_LOWERCASE));
} else {
nullable_string = zend_string_concat2("?", 1, ZSTR_VAL(str), ZSTR_LEN(str));
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add null to the type and call zend_type_to_string again instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback! I've updated the PR :)

@php-pulls php-pulls closed this in 6d6fade Nov 3, 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.

2 participants