From 01e99cf6f06ff7295f95413f2af8889611abe0b5 Mon Sep 17 00:00:00 2001 From: Vlad Ghita Date: Fri, 26 Jan 2024 14:35:25 +0200 Subject: [PATCH] Fix typo for Stringable. --- Collection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Collection.php b/Collection.php index 5a718e5..990a5d3 100644 --- a/Collection.php +++ b/Collection.php @@ -612,7 +612,7 @@ public function implode($value, $glue = null) $first = $this->first(); - if (is_array($first) || (is_object($first) && ! $first instanceof Stringable)) { + if (is_array($first) || (is_object($first) && ! $first instanceof \Stringable)) { return implode($glue ?? '', $this->pluck($value)->all()); }