cakephp/cakephp — pull request #2503 by dereuromark (2013-12-18 11:12:05+00:00)
Title: Correct doc block

I would prefer to drop the is_array() check (nonsense since we expect a string) and return empty array() if empty:

if (empty($data)) {
return array();
}

But that will have to wait for 2.5 then.