mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 04:53:49 +00:00
add missing arguments to method alterQuery (wip)
This commit is contained in:
@@ -47,7 +47,7 @@ class ExportGeneration implements TrackCreationInterface
|
||||
private string $exportAlias,
|
||||
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON, nullable: false, options: ['default' => '[]'])]
|
||||
private array $options = [],
|
||||
#[ORM\Column(type: 'datetime_immutable', nullable: true)]
|
||||
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATETIME_IMMUTABLE, nullable: true)]
|
||||
private ?\DateTimeImmutable $deleteAt = null,
|
||||
) {
|
||||
$this->id = Uuid::uuid4();
|
||||
|
@@ -556,7 +556,7 @@ class DummyFilterWithApplying implements FilterInterface
|
||||
return $this->role;
|
||||
}
|
||||
|
||||
public function alterQuery(QueryBuilder $qb, $data) {}
|
||||
public function alterQuery(QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext) {}
|
||||
|
||||
public function applyOn()
|
||||
{
|
||||
@@ -606,7 +606,7 @@ class DummyExport implements ExportInterface
|
||||
return [];
|
||||
}
|
||||
|
||||
public function getResult($query, $data)
|
||||
public function getResult($query, $data, \Chill\MainBundle\Export\ExportGenerationContext $context)
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
@@ -146,7 +146,7 @@ class SortExportElementTest extends KernelTestCase
|
||||
return null;
|
||||
}
|
||||
|
||||
public function alterQuery(QueryBuilder $qb, $data) {}
|
||||
public function alterQuery(QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext) {}
|
||||
|
||||
public function applyOn()
|
||||
{
|
||||
@@ -182,7 +182,7 @@ class SortExportElementTest extends KernelTestCase
|
||||
return null;
|
||||
}
|
||||
|
||||
public function alterQuery(QueryBuilder $qb, $data) {}
|
||||
public function alterQuery(QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext) {}
|
||||
|
||||
public function applyOn()
|
||||
{
|
||||
|
Reference in New Issue
Block a user