Commit acf1dee7 authored by mabolek's avatar mabolek Committed by Thomas Löffler
Browse files

[FIX] Code standard broken hearts

parent ffb97c64
......@@ -2,7 +2,6 @@
namespace T3o\Karma\Controller;
use T3o\Karma\Domain\Model\KarmaSource;
use T3o\Karma\Domain\Repository\KarmaSourceRepository;
use T3o\Karma\Service\KarmaService;
use TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository;
......
......@@ -100,7 +100,8 @@ class LedgerEntryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
* @return string
* @internal
*/
protected function getTableName() {
protected function getTableName()
{
/** @var DataMapper $dataMapper */
$dataMapper = GeneralUtility::makeInstance(DataMapper::class);
/** @var DataMap $dataMap */
......@@ -114,7 +115,8 @@ class LedgerEntryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
*
* @return QueryBuilder
*/
protected function getQueryBuilder() {
protected function getQueryBuilder()
{
return GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($this->getTableName());
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment