mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing unnecessary key.
This commit is contained in:
parent
9a4e78af82
commit
264cdb78c0
2 changed files with 1 additions and 2 deletions
|
@ -427,7 +427,6 @@ class Router {
|
||||||
$out = array(
|
$out = array(
|
||||||
'pass' => array(),
|
'pass' => array(),
|
||||||
'named' => array(),
|
'named' => array(),
|
||||||
'controller' => null,
|
|
||||||
);
|
);
|
||||||
$r = $ext = null;
|
$r = $ext = null;
|
||||||
|
|
||||||
|
|
|
@ -516,7 +516,7 @@ class RouterTest extends CakeTestCase {
|
||||||
));
|
));
|
||||||
Router::defaults(false);
|
Router::defaults(false);
|
||||||
$result = Router::parse('/foo/bar');
|
$result = Router::parse('/foo/bar');
|
||||||
$expected = array('pass' => array(), 'named' => array(), 'controller' => null);
|
$expected = array('pass' => array(), 'named' => array());
|
||||||
$this->assertEqual($result, $expected);
|
$this->assertEqual($result, $expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue