diff --git a/src/Drivers/AbstractDriver.php b/src/Drivers/AbstractDriver.php index f004fa5..4aaec7c 100644 --- a/src/Drivers/AbstractDriver.php +++ b/src/Drivers/AbstractDriver.php @@ -308,8 +308,11 @@ abstract class AbstractDriver return array_map([$this, __METHOD__], $identifier); } + // Make all the string-handling methods happy + $identifier = (string)$identifier; + // Handle comma-separated identifiers - if (is_string($identifier) && strpos($identifier, ',') !== FALSE) + if (strpos($identifier, ',') !== FALSE) { $parts = array_map('mb_trim', explode(',', $identifier)); $parts = array_map([$this, __METHOD__], $parts);