It seems like $request->get('id') can also be of type null; however, parameter $id of TrophyForum\Responses\Ap...eCommand::__construct() 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 $request->get('post_id') can also be of type null; however, parameter $postId of TrophyForum\Responses\Ap...eCommand::__construct() 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 $request->get('author_id') can also be of type null; however, parameter $authorId of TrophyForum\Responses\Ap...eCommand::__construct() 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 $request->get('content') can also be of type null; however, parameter $content of TrophyForum\Responses\Ap...eCommand::__construct() 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