Use PHPStan generics
[MAILPOET-2900]
This commit is contained in:
@ -8,12 +8,7 @@ use MailPoet\WP\Functions as WPFunctions;
|
||||
use MailPoetVendor\Carbon\Carbon;
|
||||
|
||||
/**
|
||||
* @method SettingEntity[] findBy(array $criteria, array $orderBy = null, int $limit = null, int $offset = null)
|
||||
* @method SettingEntity|null findOneBy(array $criteria, array $orderBy = null)
|
||||
* @method SettingEntity|null findOneById(mixed $id)
|
||||
* @method SettingEntity[] findAll()
|
||||
* @method void persist(SettingEntity $entity)
|
||||
* @method void remove(SettingEntity $entity)
|
||||
* @extends Repository<SettingEntity>
|
||||
*/
|
||||
class SettingsRepository extends Repository {
|
||||
public function findOneByName($name) {
|
||||
|
Reference in New Issue
Block a user