From 9e369e1d57ca123b80a1ab289fba90e150a6f956 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sun, 3 Dec 2023 19:41:14 +0100 Subject: [PATCH] Add doc block --- src/Drivers/AbstractDecoder.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Drivers/AbstractDecoder.php b/src/Drivers/AbstractDecoder.php index 20657291..c3dc633e 100644 --- a/src/Drivers/AbstractDecoder.php +++ b/src/Drivers/AbstractDecoder.php @@ -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;