From ef1f8ba8ef5745c49fe3289ef37e87722328149a Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Wed, 11 Oct 2023 18:42:26 +0200 Subject: [PATCH] Clarify documentation --- src/Traits/Queue.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Traits/Queue.php b/src/Traits/Queue.php index d5f02b9..8efd9e7 100644 --- a/src/Traits/Queue.php +++ b/src/Traits/Queue.php @@ -53,17 +53,17 @@ trait Queue /* implements \ArrayAccess, \Countable, \SeekableIterator */ * - "bool" * - "callable" * - "countable" - * - "float" / "double" - * - "int" / "integer" / "long" + * - "float" or "double" + * - "int" or "integer" or "long" * - "iterable" * - "null" * - "numeric" - * - "object" / FQCN + * - "object" or FQCN * - "resource" * - "scalar" * - "string" - * Additionally, fully qualified class names can be specified to restrict - * the types of objects. + * Fully qualified class names (FQCN) can be specified instead of the + * generic type "object". */ protected array $allowedTypes = [];