diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-06 12:59:26 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-06 12:59:26 -0500 |
| commit | 9f85a4d118544e6097005ea3ef37e1e627838278 (patch) | |
| tree | 338967c44b8acdb502444de47dc3a3f2711faf9d | |
| parent | bdaa40bb550c18f9c7feb4e2448a31a53e2a5bd2 (diff) | |
| download | forums-9f85a4d118544e6097005ea3ef37e1e627838278.tar forums-9f85a4d118544e6097005ea3ef37e1e627838278.tar.gz forums-9f85a4d118544e6097005ea3ef37e1e627838278.tar.bz2 forums-9f85a4d118544e6097005ea3ef37e1e627838278.tar.xz forums-9f85a4d118544e6097005ea3ef37e1e627838278.zip | |
[ticket/11420] Use !==, === when comparing strings
PHPBB3-11420
| -rw-r--r-- | tests/notification/convert_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/notification/convert_test.php b/tests/notification/convert_test.php index fdd0d19e72..e07c144e16 100644 --- a/tests/notification/convert_test.php +++ b/tests/notification/convert_test.php @@ -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, |
