It seems like $request->get('id') can also be of type null; however, parameter $id of TrophyForum\Posts\Applic...tCommand::__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('sub_forum_id') can also be of type null; however, parameter $subForumId of TrophyForum\Posts\Applic...tCommand::__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\Posts\Applic...tCommand::__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('title') can also be of type null; however, parameter $title of TrophyForum\Posts\Applic...tCommand::__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\Posts\Applic...tCommand::__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