Skip to content

Commit

Permalink
Merge pull request #14132 from laravel/analysis-XlZ3gJ
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
taylorotwell authored Jun 24, 2016
2 parents 6ad7db4 + 508957a commit 8989470
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function processInsertGetId(Builder $query, $sql, $values, $sequence = nu
$sequence = $sequence ?: 'id';

$id = is_object($result) ? $result->$sequence : $result[$sequence];

return is_numeric($id) ? (int) $id : $id;
}

Expand Down

0 comments on commit 8989470

Please sign in to comment.