It seems like AhmadMayahi\Vision\Enums...($response->getAdult()) can also be of type null; however, parameter $adult of AhmadMayahi\Vision\Data\SafeSearch::__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 AhmadMayahi\Vision\Enums...response->getMedical()) can also be of type null; however, parameter $medical of AhmadMayahi\Vision\Data\SafeSearch::__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 AhmadMayahi\Vision\Enums...($response->getSpoof()) can also be of type null; however, parameter $spoof of AhmadMayahi\Vision\Data\SafeSearch::__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 AhmadMayahi\Vision\Enums...esponse->getViolence()) can also be of type null; however, parameter $violence of AhmadMayahi\Vision\Data\SafeSearch::__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 AhmadMayahi\Vision\Enums...y($response->getRacy()) can also be of type null; however, parameter $racy of AhmadMayahi\Vision\Data\SafeSearch::__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