Fix PHPStan class-string errors

MAILPOET-6318
This commit is contained in:
Oluwaseun Olorunsola
2024-11-26 12:08:44 +01:00
committed by Jan Lysý
parent cbfdba7bd2
commit 5ce9008f90
9 changed files with 27 additions and 35 deletions

View File

@@ -23,7 +23,7 @@ class Patterns_Test extends \MailPoetTest {
*/
public function _before() {
parent::_before();
$this->patterns = $this->di_container->get( Patterns::class ); // @phpstan-ignore-line
$this->patterns = $this->di_container->get( Patterns::class );
$this->cleanup_patterns();
}