@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | public static function generateModelKey(ForeignKeyConstraint $remoteFk, ForeignKeyConstraint $localFk): string |
| 50 | 50 | { |
| 51 | - return $remoteFk->getLocalTableName() . "." . implode("__", $localFk->getUnquotedLocalColumns()); |
|
| 51 | + return $remoteFk->getLocalTableName().".".implode("__", $localFk->getUnquotedLocalColumns()); |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | public function getPivotName(): string |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $join[] = sprintf('%s.%s = %s.%s', $mainTable, $column, $pivotTable, $this->joinLocalKeys[$key]); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - return $mainTable . ' JOIN ' . $pivotTable . ' ON ' . implode(' AND ', $join); |
|
| 74 | + return $mainTable.' JOIN '.$pivotTable.' ON '.implode(' AND ', $join); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | public function getPivotWhere(): string |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | { |
| 92 | 92 | $params = []; |
| 93 | 93 | foreach ($primaryKeys as $key => $primaryKeyValue) { |
| 94 | - $params['param' . $key] = $primaryKeyValue; |
|
| 94 | + $params['param'.$key] = $primaryKeyValue; |
|
| 95 | 95 | } |
| 96 | 96 | return $params; |
| 97 | 97 | } |