mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11420] Use !==, === when comparing strings
PHPBB3-11420
This commit is contained in:
@@ -72,7 +72,7 @@ class phpbb_notification_convert_test extends phpbb_database_test_case
|
||||
{
|
||||
$return = array();
|
||||
|
||||
if ($method != '')
|
||||
if ($method !== '')
|
||||
{
|
||||
$return[] = array(
|
||||
'item_type' => $type,
|
||||
@@ -83,7 +83,7 @@ class phpbb_notification_convert_test extends phpbb_database_test_case
|
||||
);
|
||||
}
|
||||
|
||||
if ($method == 'email' || $method == 'both')
|
||||
if ($method === 'email' || $method === 'both')
|
||||
{
|
||||
$return[] = array(
|
||||
'item_type' => $type,
|
||||
@@ -94,7 +94,7 @@ class phpbb_notification_convert_test extends phpbb_database_test_case
|
||||
);
|
||||
}
|
||||
|
||||
if ($method == 'jabber' || $method == 'both')
|
||||
if ($method === 'jabber' || $method === 'both')
|
||||
{
|
||||
$return[] = array(
|
||||
'item_type' => $type,
|
||||
|
Reference in New Issue
Block a user