mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 08:16:11 +01:00
TASK: Fix codacy issues
Break line to not exceed maximum line length. Use imported namespace to shorten line.
This commit is contained in:
parent
67d1180ee1
commit
49a56496c6
2 changed files with 8 additions and 2 deletions
|
@ -39,7 +39,13 @@ class RelationResolver implements Singleton
|
||||||
if ($column === 'pid') {
|
if ($column === 'pid') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$record[$column] = BackendUtility::getProcessedValueExtra($service->getTableName(), $column, $record[$column], 0, $record['uid']);
|
$record[$column] = BackendUtility::getProcessedValueExtra(
|
||||||
|
$service->getTableName(),
|
||||||
|
$column,
|
||||||
|
$record[$column],
|
||||||
|
0,
|
||||||
|
$record['uid']
|
||||||
|
);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$config = $service->getColumnConfig($column);
|
$config = $service->getColumnConfig($column);
|
||||||
|
|
|
@ -50,6 +50,6 @@ abstract class AbstractDataHandlerTest extends AbstractFunctionalTestCase
|
||||||
->setMethods(['add', 'update', 'delete'])
|
->setMethods(['add', 'update', 'delete'])
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
||||||
GeneralUtility::setSingletonInstance(\Codappix\SearchCore\Hook\DataHandler::class, new DataHandlerHook($this->subject));
|
GeneralUtility::setSingletonInstance(DataHandlerHook::class, new DataHandlerHook($this->subject));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue