Use correct imports
This commit is contained in:
@@ -27,10 +27,10 @@ namespace EP\EpProducts\Domain\Repository;
|
|||||||
* This copyright notice MUST APPEAR in all copies of the script!
|
* This copyright notice MUST APPEAR in all copies of the script!
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
|
||||||
use EP\EpProducts\Domain\Model\Date;
|
use EP\EpProducts\Domain\Model\Date;
|
||||||
use EP\EpProducts\Domain\Model\FilterSettings;
|
use EP\EpProducts\Domain\Model\FilterSettings;
|
||||||
use EP\EpProducts\Traits\DbConnectionTrait;
|
use EP\EpProducts\Traits\DbConnectionTrait;
|
||||||
|
use TYPO3\CMS\Core\Database\Connection;
|
||||||
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
|
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
|
||||||
use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings;
|
use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings;
|
||||||
|
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ namespace EP\EpProducts\Domain\Repository;
|
|||||||
* This copyright notice MUST APPEAR in all copies of the script!
|
* This copyright notice MUST APPEAR in all copies of the script!
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
|
||||||
use EP\EpProducts\Domain\Model\FilterSettings;
|
use EP\EpProducts\Domain\Model\FilterSettings;
|
||||||
use EP\EpProducts\Domain\Model\Product;
|
use EP\EpProducts\Domain\Model\Product;
|
||||||
|
use TYPO3\CMS\Core\Database\Connection;
|
||||||
|
|
||||||
class DateRepository extends AbstractRepository
|
class DateRepository extends AbstractRepository
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ namespace EP\EpProducts\Domain\Repository;
|
|||||||
* This copyright notice MUST APPEAR in all copies of the script!
|
* This copyright notice MUST APPEAR in all copies of the script!
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
|
||||||
use EP\EpProducts\Domain\Model\Hotel;
|
use EP\EpProducts\Domain\Model\Hotel;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
|
use TYPO3\CMS\Core\Database\Connection;
|
||||||
|
|
||||||
class HotelRepository extends AbstractRepository
|
class HotelRepository extends AbstractRepository
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,11 +27,11 @@ namespace EP\EpProducts\Domain\Repository;
|
|||||||
* This copyright notice MUST APPEAR in all copies of the script!
|
* This copyright notice MUST APPEAR in all copies of the script!
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
|
||||||
use EP\EpProducts\Domain\Model\Date;
|
use EP\EpProducts\Domain\Model\Date;
|
||||||
use EP\EpProducts\Domain\Model\FilterSettings;
|
use EP\EpProducts\Domain\Model\FilterSettings;
|
||||||
use EP\EpProducts\Domain\Model\Hotel;
|
use EP\EpProducts\Domain\Model\Hotel;
|
||||||
use EP\EpProducts\Domain\Model\Product;
|
use EP\EpProducts\Domain\Model\Product;
|
||||||
|
use TYPO3\CMS\Core\Database\Connection;
|
||||||
|
|
||||||
class ProductRepository extends AbstractRepository
|
class ProductRepository extends AbstractRepository
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ namespace EP\EpProducts\Domain\Repository;
|
|||||||
* This copyright notice MUST APPEAR in all copies of the script!
|
* This copyright notice MUST APPEAR in all copies of the script!
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
use TYPO3\CMS\Core\Database\Connection;
|
||||||
|
|
||||||
class SnowreportRepository extends AbstractRepository
|
class SnowreportRepository extends AbstractRepository
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -80,8 +80,8 @@ class FilterService implements SingletonInterface
|
|||||||
/**
|
/**
|
||||||
* @param FilterSettings $filterSettings
|
* @param FilterSettings $filterSettings
|
||||||
* @param array $excludedConceptUids
|
* @param array $excludedConceptUids
|
||||||
*
|
|
||||||
* @return FilterOptions
|
* @return FilterOptions
|
||||||
|
* @throws \Doctrine\DBAL\DBALException
|
||||||
*/
|
*/
|
||||||
public function getFilterOptions(FilterSettings $filterSettings, $excludedConceptUids = [])
|
public function getFilterOptions(FilterSettings $filterSettings, $excludedConceptUids = [])
|
||||||
{
|
{
|
||||||
@@ -100,7 +100,6 @@ class FilterService implements SingletonInterface
|
|||||||
/**
|
/**
|
||||||
* @param array $filterOptionsData
|
* @param array $filterOptionsData
|
||||||
* @param array $dateRange
|
* @param array $dateRange
|
||||||
*
|
|
||||||
* @return FilterOptions
|
* @return FilterOptions
|
||||||
*/
|
*/
|
||||||
public function preprocessFilterOptions(array $filterOptionsData, array $dateRange)
|
public function preprocessFilterOptions(array $filterOptionsData, array $dateRange)
|
||||||
|
|||||||
Reference in New Issue
Block a user