|
@@ -407,7 +407,7 @@ discard block |
|
|
block discarded – undo |
|
407
|
407
|
*/ |
|
408
|
408
|
protected function correctTable(string $table): string |
|
409
|
409
|
{ |
|
410
|
|
- return empty($table) ? $this->basicRecord->getMapper()->getAlias() : $table ; |
|
|
410
|
+ return empty($table) ? $this->basicRecord->getMapper()->getAlias() : $table; |
|
411
|
411
|
} |
|
412
|
412
|
|
|
413
|
413
|
/** |
|
@@ -418,7 +418,7 @@ discard block |
|
|
block discarded – undo |
|
418
|
418
|
*/ |
|
419
|
419
|
protected function correctColumn(string $table, string $column) |
|
420
|
420
|
{ |
|
421
|
|
- $record = !empty($table) ? $this->recordLookup($table)->getRecord() : $this->basicRecord ; |
|
|
421
|
+ $record = !empty($table) ? $this->recordLookup($table)->getRecord() : $this->basicRecord; |
|
422
|
422
|
if (empty($record)) { |
|
423
|
423
|
// @codeCoverageIgnoreStart |
|
424
|
424
|
throw new MapperException(sprintf('Unknown relation table *%s*', $table)); |
Please login to merge, or discard this patch.