@@ -40,7 +40,7 @@ |
||
40 | 40 | $finder = Orm::finder($modelClass); |
41 | 41 | |
42 | 42 | return $finder->select() |
43 | - ->where($foreignAttribute, $this->getAttribute($attribute)) |
|
44 | - ->execute(); |
|
43 | + ->where($foreignAttribute, $this->getAttribute($attribute)) |
|
44 | + ->execute(); |
|
45 | 45 | } |
46 | 46 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | $finder = Orm::finder($modelClass); |
41 | 41 | |
42 | 42 | return $finder->select() |
43 | - ->where($foreignAttribute, $this->getAttribute($attribute)) |
|
44 | - ->one(); |
|
43 | + ->where($foreignAttribute, $this->getAttribute($attribute)) |
|
44 | + ->one(); |
|
45 | 45 | } |
46 | 46 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | $finder = Orm::finder($modelClass); |
41 | 41 | |
42 | 42 | return $finder->select() |
43 | - ->where($foreignAttribute, $this->getAttribute($attribute)) |
|
44 | - ->one(); |
|
43 | + ->where($foreignAttribute, $this->getAttribute($attribute)) |
|
44 | + ->one(); |
|
45 | 45 | } |
46 | 46 | } |