Remove PHPStan level 6 errors from DynamicSegments
Remove the following errors: (Method|Property|Function) has no (return )?type specified. (Method|Function) has parameter with no type (specified). [MAILPOET-3720]
This commit is contained in:
@ -7,7 +7,7 @@ use MailPoet\Segments\SegmentListingRepository;
|
||||
use MailPoetVendor\Doctrine\ORM\QueryBuilder;
|
||||
|
||||
class DynamicSegmentsListingRepository extends SegmentListingRepository {
|
||||
protected function applyParameters(QueryBuilder $queryBuilder, array $parameters) {
|
||||
protected function applyParameters(QueryBuilder $queryBuilder, array $parameters): void {
|
||||
$queryBuilder
|
||||
->andWhere('s.type = :type')
|
||||
->setParameter('type', SegmentEntity::TYPE_DYNAMIC);
|
||||
|
Reference in New Issue
Block a user