toArray can be string

update docs to reflect the available type
This commit is contained in:
Brett O'Donnell
2015-06-24 14:21:18 +09:30
parent 16ca22f282
commit 3ce02dd17c

View File

@@ -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:
*