Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

update return type test logic #393

Merged
merged 1 commit into from
Dec 31, 2019
Merged

Conversation

pine3ree
Copy link
Contributor

@pine3ree pine3ree commented Aug 5, 2019

  • use internal property $allowedReturnTypes (maybe making it a static property or a class constant would be advisable)
  • use strict in_array test as for instance this expression in_array(0, ['a', 'b']) evaluates to true

- use internal property `$allowedReturnTypes` (maybe making it a static property or a class constant would be advisable)
- use strict `in_array` test as for instance this expression `in_array(0, ['a', 'b'])` evaluates to true
michalbundyra added a commit that referenced this pull request Dec 31, 2019
update return type test logic
@michalbundyra michalbundyra merged commit 7f7be00 into zendframework:master Dec 31, 2019
michalbundyra added a commit that referenced this pull request Dec 31, 2019
@michalbundyra
Copy link
Member

Thanks, @pine3ree!

@pine3ree pine3ree deleted the patch-4 branch December 31, 2019 17:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants