1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 12:18:14 +01:00

Add doc block

This commit is contained in:
Oliver Vogel 2023-12-03 19:41:14 +01:00
parent 00bc9e44f2
commit 9e369e1d57

View File

@ -72,7 +72,13 @@ abstract class AbstractDecoder implements DecoderInterface
return new Collection(is_array($data) ? $data : []);
}
protected function isValidBase64($input): bool
/**
* Determine if given input is base64 encoded data
*
* @param mixed $input
* @return bool
*/
protected function isValidBase64(mixed $input): bool
{
if (!is_string($input)) {
return false;