Permalink
Browse files

Apply fixes from StyleCI

  • Loading branch information...
1 parent fd6fe61 commit f4ec1abf726db13502032894cd30cbdab0ec0aa4 @Rhincodon committed with StyleCIBot Jan 11, 2017
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Commands/Sync.php
@@ -94,8 +94,8 @@ private function updateModel($modelItem, $value)
continue;
}
- if (is_bool($modelItem->{$attributeKey}) && $modelItem->{$attributeKey} !== (bool)$value[$id]) {
- $modelItem->{$attributeKey} = (bool)$value[$id];
+ if (is_bool($modelItem->{$attributeKey}) && $modelItem->{$attributeKey} !== (bool) $value[$id]) {
+ $modelItem->{$attributeKey} = (bool) $value[$id];
continue;
}
@@ -104,7 +104,7 @@ private function updateModel($modelItem, $value)
continue;
}
- if (!is_numeric($value[$id]) && (is_int($modelItem->{$attributeKey}) || is_float($modelItem->{$attributeKey}))) {
+ if (! is_numeric($value[$id]) && (is_int($modelItem->{$attributeKey}) || is_float($modelItem->{$attributeKey}))) {
$modelItem->{$attributeKey} = 0;
continue;
}

0 comments on commit f4ec1ab

Please sign in to comment.