@@ -53,8 +53,8 @@ |
||
53 | 53 | |
54 | 54 | public function scopeByElement($query, Model $model) |
55 | 55 | { |
56 | - return $query->where($this->getTable() . '.' . $this->getModelColumn(), '=', $model->getTable()) |
|
57 | - ->where($this->getTable() . '.' . $this->getIdSourceColumn(), '=', $model->getKey()); |
|
56 | + return $query->where($this->getTable().'.'.$this->getModelColumn(), '=', $model->getTable()) |
|
57 | + ->where($this->getTable().'.'.$this->getIdSourceColumn(), '=', $model->getKey()); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | } |