Skip to content

Commit

Permalink
Remove unnecessary ternary expression (#1327)
Browse files Browse the repository at this point in the history
  • Loading branch information
carusogabriel authored and dwsupplee committed Oct 2, 2018
1 parent 747069c commit c8620f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ValueMapper.php
Expand Up @@ -89,7 +89,7 @@ public function fromBigQuery(array $value, array $schema)

switch ($schema['type']) {
case self::TYPE_BOOLEAN:
return $value === 'true' ? true : false;
return $value === 'true';
case self::TYPE_INTEGER:
return $this->returnInt64AsObject
? new Int64($value)
Expand Down

0 comments on commit c8620f3

Please sign in to comment.