Fix checkGenericClassInNonGenericObjectType PHPStan errors
This commit removes the checkGenericClassInNonGenericObjectType flag from PHPStan configuration files and fixes all associated errors in our code base. [MAILPOET-3236]
This commit is contained in:
@ -48,7 +48,7 @@ class StatisticsClickEntity {
|
||||
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="MailPoet\Entities\StatisticsWooCommercePurchaseEntity", mappedBy="click", fetch="EXTRA_LAZY")*
|
||||
* @var StatisticsWooCommercePurchaseEntity[]|ArrayCollection
|
||||
* @var ArrayCollection<int, StatisticsWooCommercePurchaseEntity>
|
||||
*/
|
||||
private $wooCommercePurchases;
|
||||
|
||||
@ -140,7 +140,7 @@ class StatisticsClickEntity {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return StatisticsWooCommercePurchaseEntity[]|ArrayCollection
|
||||
* @return ArrayCollection<int, StatisticsWooCommercePurchaseEntity>
|
||||
*/
|
||||
public function getWooCommercePurchases() {
|
||||
return $this->wooCommercePurchases;
|
||||
|
Reference in New Issue
Block a user