It seems like $this->argument('name') can also be of type null and array; however, parameter $name of FondBot\Foundation\Api::findDriver() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
Are you sure $name of type null|string|array can be used in concatenation?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
37
$this->error('"'./** @scrutinizer ignore-type */ $name.'" is not found in the available drivers list or is not yet supported by current FondBot version ('.FondBot::VERSION.').');