Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Sep 21, 2019
1 parent 1638c24 commit b3cd944
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/Relations/BelongsToThrough.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ public function getRelationExistenceQuery(Builder $query, Builder $parent, $colu
$foreignKey = new Expression($query->getQuery()->getGrammar()->wrap($foreignKey));

return $query->select($columns)->where(
$this->getQualifiedFirstLocalKeyName(), '=', $foreignKey
$this->getQualifiedFirstLocalKeyName(),
'=',
$foreignKey
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Models/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

class Country extends Model
{

//
}
2 changes: 1 addition & 1 deletion tests/Models/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

class Post extends Model
{

//
}
2 changes: 1 addition & 1 deletion tests/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Tests\Models;

use Illuminate\Database\Eloquent\SoftDeletes;;
use Illuminate\Database\Eloquent\SoftDeletes;

class User extends Model
{
Expand Down

0 comments on commit b3cd944

Please sign in to comment.