mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11420] Use !==, === when comparing strings
PHPBB3-11420
This commit is contained in:
parent
bdaa40bb55
commit
9f85a4d118
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue