|
@@ -53,8 +53,8 @@ |
|
|
block discarded – undo |
|
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
|
} |
Please login to merge, or discard this patch.