mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[feature/controller] Use sizeof() instead of count() as per guidelines
PHPBB3-10864
This commit is contained in:
@@ -37,7 +37,7 @@ class phpbb_controller_test extends phpbb_test_case
|
|||||||
->find('./tests/controller/');
|
->find('./tests/controller/');
|
||||||
|
|
||||||
// This will need to be updated if any new routes are defined
|
// This will need to be updated if any new routes are defined
|
||||||
$this->assertEquals(2, count($routes));
|
$this->assertEquals(2, sizeof($routes));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_controller_resolver()
|
public function test_controller_resolver()
|
||||||
|
Reference in New Issue
Block a user