diff options
author | rxu <rxu@mail.ru> | 2017-06-28 00:58:03 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2017-07-17 16:57:00 +0700 |
commit | 797234e416c40cd602f9ee46d63bff53de303800 (patch) | |
tree | 49fccf0620a35db7ca400c2fef5f87f8d988dba5 /tests/notification | |
parent | [ticket/14972] Fix find_key_index method (diff) | |
download | phpbb-797234e416c40cd602f9ee46d63bff53de303800.tar.gz phpbb-797234e416c40cd602f9ee46d63bff53de303800.tar.bz2 phpbb-797234e416c40cd602f9ee46d63bff53de303800.zip |
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
Diffstat (limited to 'tests/notification')
-rw-r--r-- | tests/notification/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notification/base.php b/tests/notification/base.php index b64e25cf8c..80b9a0d777 100644 --- a/tests/notification/base.php +++ b/tests/notification/base.php @@ -163,7 +163,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case 'order_dir' => 'ASC', ), $options)); - $this->assertEquals(sizeof($expected), $notifications['unread_count']); + $this->assertEquals(count($expected), $notifications['unread_count']); $i = 0; foreach ($notifications['notifications'] as $notification) |