aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mimetype
diff options
context:
space:
mode:
authormarc1706 <admin@m-a-styles.de>2014-01-03 13:45:38 +0100
committermarc1706 <admin@m-a-styles.de>2014-01-03 13:45:38 +0100
commitf111a9262fdca8668e57e3cc4230107e75d957a7 (patch)
tree3c2d30cc8c09fa10fd7654646c7c77a1d20bfc08 /tests/mimetype
parent8ebf5bb8d1070b214ba3bc7a900da46283ebb510 (diff)
downloadforums-f111a9262fdca8668e57e3cc4230107e75d957a7.tar
forums-f111a9262fdca8668e57e3cc4230107e75d957a7.tar.gz
forums-f111a9262fdca8668e57e3cc4230107e75d957a7.tar.bz2
forums-f111a9262fdca8668e57e3cc4230107e75d957a7.tar.xz
forums-f111a9262fdca8668e57e3cc4230107e75d957a7.zip
[ticket/12071] Get rid of unneeded cast to boolean in tests
PHPBB3-12071
Diffstat (limited to 'tests/mimetype')
-rw-r--r--tests/mimetype/guesser_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mimetype/guesser_test.php b/tests/mimetype/guesser_test.php
index 244293020f..a211b99147 100644
--- a/tests/mimetype/guesser_test.php
+++ b/tests/mimetype/guesser_test.php
@@ -35,7 +35,7 @@ class guesser_test extends \phpbb_test_case
);
// Check if any guesser except the extension_guesser is available
- $this->fileinfo_supported = (bool) $guessers[0]->isSupported() | $guessers[1]->isSupported() | $guessers[3]->is_supported();
+ $this->fileinfo_supported = $guessers[0]->isSupported() | $guessers[1]->isSupported() | $guessers[3]->is_supported();
$this->guesser = new \phpbb\mimetype\guesser($guessers);
$this->path = dirname(__FILE__);