@@ -77,8 +77,8 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | public function joinSource($sourceClass) |
| 79 | 79 | {
|
| 80 | - if (get_class($this->sourceId) !== $sourceClass . 'Set') {
|
|
| 81 | - $this->hasOne('sourceId', $sourceClass . 'Set');
|
|
| 80 | + if (get_class($this->sourceId) !== $sourceClass.'Set') {
|
|
| 81 | + $this->hasOne('sourceId', $sourceClass.'Set');
|
|
| 82 | 82 | $this->join('sourceId');
|
| 83 | 83 | } |
| 84 | 84 | } |
@@ -89,8 +89,8 @@ discard block |
||
| 89 | 89 | */ |
| 90 | 90 | public function joinTarget($targetClass = null) |
| 91 | 91 | {
|
| 92 | - if (get_class($this->targetId) !== $targetClass . 'Set') {
|
|
| 93 | - $this->hasOne('targetId', $targetClass . 'Set');
|
|
| 92 | + if (get_class($this->targetId) !== $targetClass.'Set') {
|
|
| 93 | + $this->hasOne('targetId', $targetClass.'Set');
|
|
| 94 | 94 | $this->join('targetId');
|
| 95 | 95 | } |
| 96 | 96 | } |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | } |
| 257 | 257 | |
| 258 | 258 | if ($deleteTarget) {
|
| 259 | - foreach($set->select($criteria) as $link) {
|
|
| 259 | + foreach ($set->select($criteria) as $link) {
|
|
| 260 | 260 | |
| 261 | 261 | $className = $link->targetClass.'Set'; |
| 262 | 262 | |