Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Fix "Return value must be of the type int" on Symfony 5.3 #63

Merged
merged 1 commit into from
Dec 29, 2021

Conversation

yched
Copy link

@yched yched commented Sep 17, 2021

Fixes #62

Since the bundle currently supports Symfony >= 4.4, and returning 0 is already supported in 4.4,
we can simply always return 0

Since the bundle currently doesn't support Symfony < 4.4, and returning 0 is already supported there, 
we can simply always return 0
@theofidry theofidry merged commit 58bb892 into theofidry:master Dec 29, 2021
@theofidry
Copy link
Owner

Thank you @yched, sorry for the late check

kgust pushed a commit to kgust/PsyshBundle that referenced this pull request Feb 9, 2022
Since the bundle currently doesn't support Symfony < 4.4, and returning 0 is already supported there, 
we can simply always return 0
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.

Symfony 5.3 : PsyshCommand should return 0 instead of null
2 participants