Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebwas committed Apr 21, 2016
1 parent 7ccd4a1 commit 7937dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Query/Grammars/MySqlGrammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function compileUpdate(Builder $query, $values)
$columns = [];

foreach ($values as $key => $value) {
if($this->isJsonSelector($key)){
if ($this->isJsonSelector($key)) {
$columns[] = $this->prepareJsonUpdateColumn($key, new JsonExpression($value));
} else {
$columns[] = $this->wrap($key).' = '.$this->parameter($value);
Expand Down Expand Up @@ -127,7 +127,7 @@ public function compileUpdate(Builder $query, $values)
}

/**
* Prepares the update column for JSON selectors using the JSON_SET MySQL function
* Prepares the update column for JSON selectors using the JSON_SET MySQL function.
*
* @param string $key
* @param JsonExpression $value
Expand Down

0 comments on commit 7937dcb

Please sign in to comment.