From 87fe1e613639e7bcb0549024f31565acc3426143 Mon Sep 17 00:00:00 2001 From: Nicofuma Date: Wed, 30 Apr 2014 00:50:11 +0200 Subject: [ticket/12413] Remove unnecessary casts PHPBB3-12413 --- tests/functional/feed_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functional/feed_test.php') diff --git a/tests/functional/feed_test.php b/tests/functional/feed_test.php index 32a25fd390..97ba848b4f 100644 --- a/tests/functional/feed_test.php +++ b/tests/functional/feed_test.php @@ -72,7 +72,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case { $crawler = self::request('GET', 'feed.php?mode=forums', array(), false); self::assert_response_xml(); - self::$init_values['disapprove_user']['forums_value'] = (int)$crawler->filterXPath('//entry')->count(); + self::$init_values['disapprove_user']['forums_value'] = $crawler->filterXPath('//entry')->count(); $crawler = self::request('GET', 'feed.php?mode=overall', array(), false); self::assert_response_xml(); @@ -94,7 +94,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case $crawler = self::request('GET', 'feed.php?mode=forums', array(), false); self::assert_response_xml(); - self::$init_values['admin']['forums_value'] = (int)$crawler->filterXPath('//entry')->count(); + self::$init_values['admin']['forums_value'] = $crawler->filterXPath('//entry')->count(); $crawler = self::request('GET', 'feed.php?mode=overall', array(), false); self::assert_response_xml(); -- cgit v1.2.1