mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
This commit is contained in:
@@ -40,7 +40,7 @@ class phpbb_cron_manager_test extends \phpbb_test_case
|
||||
public function test_manager_finds_all_ready_tasks()
|
||||
{
|
||||
$tasks = $this->manager->find_all_ready_tasks();
|
||||
$this->assertEquals(3, sizeof($tasks));
|
||||
$this->assertEquals(3, count($tasks));
|
||||
}
|
||||
|
||||
public function test_manager_finds_one_ready_task()
|
||||
|
Reference in New Issue
Block a user