From 3ce02dd17c71aa692448b3bfe3691eeb61dff1bc Mon Sep 17 00:00:00 2001 From: Brett O'Donnell Date: Wed, 24 Jun 2015 14:21:18 +0930 Subject: [PATCH] toArray can be string update docs to reflect the available type --- framework/helpers/BaseArrayHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/helpers/BaseArrayHelper.php b/framework/helpers/BaseArrayHelper.php index 082e7de032..ca35151616 100644 --- a/framework/helpers/BaseArrayHelper.php +++ b/framework/helpers/BaseArrayHelper.php @@ -23,7 +23,7 @@ class BaseArrayHelper { /** * Converts an object or an array of objects into an array. - * @param object|array $object the object to be converted into an array + * @param object|array|string $object the object to be converted into an array * @param array $properties a mapping from object class names to the properties that need to put into the resulting arrays. * The properties specified for each class is an array of the following format: *