Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Mar 2, 2021

For #25839

We should check this else it crashed hard. Better to be gracefull.

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

For #25839

We should check this else it crashed hard. Better to be gracefull.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@kesselb
Copy link
Contributor

kesselb commented Mar 2, 2021

$app = (string)$input->getArgument('app');

I would typecast the input. Null is not possible as a default is defined.

@LukasReschke LukasReschke merged commit f109cf0 into master Mar 3, 2021
@LukasReschke LukasReschke deleted the techdept/psalm/check_input_command branch March 3, 2021 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants