mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
Fixing PHP notice with string parameter
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6675 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
00b531913a
commit
1c96dd757f
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ class CakeTestCase extends UnitTestCase {
|
|||
);
|
||||
|
||||
if (is_string($params)) {
|
||||
$params['return'] = $params;
|
||||
$params = array('return' => $params);
|
||||
}
|
||||
|
||||
$params = array_merge($default, $params);
|
||||
|
|
Loading…
Add table
Reference in a new issue