Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Nov 17, 2019
1 parent 3c81c5d commit f6c7fb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Query/MysqlQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public function castAs(string $type, string $value, ?string $length = null)
}

case 'INT':
return '('. $value . ' + 0)';
return '(' . $value . ' + 0)';
}

return parent::castAs($type, $value, $length);
Expand Down
2 changes: 1 addition & 1 deletion src/Query/UnknownTypeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
*/
class UnknownTypeException extends \InvalidArgumentException
{
}
}

0 comments on commit f6c7fb1

Please sign in to comment.