It seems like __('Dropping tables for ...ny' => $company->name)) can also be of type array and array; however, parameter $string of Illuminate\Console\Command::line() 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
17
$this->line(/** @scrutinizer ignore-type */ __('Dropping tables for company :company', ['company' => $company->name]));