TASK: Fix codacy issues

Break line to not exceed maximum line length.
Use imported namespace to shorten line.
This commit is contained in:
Daniel Siepmann 2017-08-08 11:54:32 +02:00
parent 67d1180ee1
commit 49a56496c6
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 8 additions and 2 deletions

View file

@ -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);

View file

@ -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));
} }
} }