Skip to content

Commit

Permalink
Fixed Style CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMatella committed Dec 17, 2016
1 parent 92529ec commit 945006e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ public function belongsTo($related, $foreignKey = null, $otherKey = null, $relat
// foreign key name by using the name of the relationship function, which
// when combined with an "_id" should conventionally match the columns.
if (is_null($foreignKey)) {
$foreignKey = Str::snake($relation).'_' . $instance->getKeyName();
$foreignKey = Str::snake($relation).'_'.$instance->getKeyName();
}

if (! $instance->getConnectionName()) {
Expand Down

0 comments on commit 945006e

Please sign in to comment.