Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#4336 from localheinz/h…
Browse files Browse the repository at this point in the history
…otfix/use-is-int-instead-is-integer

Use is_int() instead of is_integer()
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/DbTable/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function setCredentialColumn($credentialColumn)
*/
public function setAmbiguityIdentity($flag)
{
if (is_integer($flag)) {
if (is_int($flag)) {
$this->ambiguityIdentity = (1 === $flag ? true : false);
} elseif (is_bool($flag)) {
$this->ambiguityIdentity = $flag;
Expand Down

0 comments on commit e469fac

Please sign in to comment.