Skip to content

Commit

Permalink
convert to string using cast instead of function call
Browse files Browse the repository at this point in the history
  • Loading branch information
danomatic committed Mar 31, 2017
1 parent abcabe6 commit 1e3e30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ static function retrieveFromPool($pk_value) {
return null;
}

$pk_value = strval($pk_value);
$pk_value = (string) $pk_value;
if (isset(static::$_instancePool[$pk_value])) {
return static::$_instancePool[$pk_value];
}
Expand Down

0 comments on commit 1e3e30f

Please sign in to comment.