Remove the following errors: (Method|Property|Function) has no (return )?type specified. (Method|Function) has parameter with no type (specified). [MAILPOET-3720]
16 lines
469 B
PHP
16 lines
469 B
PHP
<?php
|
|
|
|
namespace MailPoet\Segments\DynamicSegments;
|
|
|
|
use MailPoet\Entities\SegmentEntity;
|
|
use MailPoet\Segments\SegmentListingRepository;
|
|
use MailPoetVendor\Doctrine\ORM\QueryBuilder;
|
|
|
|
class DynamicSegmentsListingRepository extends SegmentListingRepository {
|
|
protected function applyParameters(QueryBuilder $queryBuilder, array $parameters): void {
|
|
$queryBuilder
|
|
->andWhere('s.type = :type')
|
|
->setParameter('type', SegmentEntity::TYPE_DYNAMIC);
|
|
}
|
|
}
|