Skip to content

Commit

Permalink
fixed escapeInt not returning string in some dbal adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik committed Jul 28, 2017
1 parent 65c2a5a commit b84f500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Bridges/Dibi/DibiAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function escapeString($value)

public function escapeInt($value)
{
return (int) $value;
return (string) (int) $value;
}


Expand Down
2 changes: 1 addition & 1 deletion src/Bridges/NextrasDbal/NextrasAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function escapeString($value)

public function escapeInt($value)
{
return (int) $value;
return (string) (int) $value;
}


Expand Down

0 comments on commit b84f500

Please sign in to comment.