2
0
mirror of https://github.com/opencultureconsulting/php-basics.git synced 2025-03-09 00:00:38 +01:00

Clarify documentation

This commit is contained in:
Sebastian Meyer 2023-10-11 18:42:26 +02:00
parent 7b79f60005
commit ef1f8ba8ef

View File

@ -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 = [];