mirror of
https://github.com/Intervention/image.git
synced 2025-08-20 04:31:24 +02:00
Add doc block
This commit is contained in:
@@ -72,7 +72,13 @@ abstract class AbstractDecoder implements DecoderInterface
|
|||||||
return new Collection(is_array($data) ? $data : []);
|
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)) {
|
if (!is_string($input)) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user