It seems like trans('emails.activationSubject') can also be of type array and array; however, parameter $subject of Illuminate\Notifications...impleMessage::subject() 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
It seems like trans('emails.activationGreeting') can also be of type array and array; however, parameter $greeting of Illuminate\Notifications...mpleMessage::greeting() 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
It seems like trans('emails.activationButton') can also be of type array and array; however, parameter $text of Illuminate\Notifications...SimpleMessage::action() 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
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.