It seems like $publishedArray['streamId'] ?? null can also be of type null; however, parameter $streamId of SquareetLabs\LaravelOpen...ublisher::__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
13
return new Publisher(/** @scrutinizer ignore-type */ $publishedArray['streamId'] ?? null,
It seems like $publishedArray['createdAt'] ?? null can also be of type null; however, parameter $createdAt of SquareetLabs\LaravelOpen...ublisher::__construct() does only seem to accept integer, 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 $publishedArray['hasAudio'] ?? null can also be of type null; however, parameter $hasAudio of SquareetLabs\LaravelOpen...ublisher::__construct() does only seem to accept boolean, 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 $publishedArray['hasVideo'] ?? null can also be of type null; however, parameter $hasVideo of SquareetLabs\LaravelOpen...ublisher::__construct() does only seem to accept boolean, 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 $publishedArray['audioActive'] ?? null can also be of type null; however, parameter $audioActive of SquareetLabs\LaravelOpen...ublisher::__construct() does only seem to accept boolean, 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 $publishedArray['videoActive'] ?? null can also be of type null; however, parameter $videoActive of SquareetLabs\LaravelOpen...ublisher::__construct() does only seem to accept boolean, 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 $publishedArray['frameRate'] ?? null can also be of type null; however, parameter $frameRate of SquareetLabs\LaravelOpen...ublisher::__construct() does only seem to accept integer, 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 $publishedArray['typeOfVideo'] ?? null can also be of type null; however, parameter $typeOfVideo of SquareetLabs\LaravelOpen...ublisher::__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 $publishedArray['videoDimensions'] ?? null can also be of type null; however, parameter $videoDimensions of SquareetLabs\LaravelOpen...ublisher::__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
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.