mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-09 16:57:53 +01:00
toArray can be string
update docs to reflect the available type
This commit is contained in:
@@ -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:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user