It seems like argument() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
It seems like getHelper() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
36
/** @scrutinizer ignore-call */
37
$helper = $this->getHelper('question');
Loading history...
37
$question = new ChoiceQuestion(
38
'Select Domain :',
39
array_values($this->laravel['domains']->all()),
40
0
41
);
42
$question->setErrorMessage('Domain %s is invalid.');