Skip to content

Commit

Permalink
changes for v1.10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnazg committed Mar 13, 2019
1 parent b642c9e commit 742be8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PEAR.php
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ protected static function _raiseError($object,
count($object->_expected_errors) > 0 &&
count($exp = end($object->_expected_errors))
) {
if ($exp[0] == "*" ||
if ($exp[0] === "*" ||
(is_int(reset($exp)) && in_array($code, $exp)) ||
(is_string(reset($exp)) && in_array($message, $exp))
) {
Expand Down

0 comments on commit 742be8d

Please sign in to comment.