Skip to content

Commit 2b4dbae

Browse files
committed
MAGE-986 Allow nullable instance variables
1 parent c9306b0 commit 2b4dbae

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Test/Unit/Helper/ConfigHelperTest.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@
2222

2323
class ConfigHelperTest extends TestCase
2424
{
25-
protected ConfigHelperTestable $configHelper;
26-
protected ScopeConfigInterface $configInterface;
27-
protected WriterInterface $configWriter;
28-
protected StoreManagerInterface $storeManager;
29-
protected Currency $currency;
30-
protected DirCurrency $dirCurrency;
31-
protected DirectoryList $directoryList;
32-
protected ResourceInterface $moduleResource;
33-
protected ProductMetadataInterface $productMetadata;
34-
protected ManagerInterface $eventManager;
35-
protected Serializer $serializer;
36-
protected GroupCollection $groupCollection;
37-
protected GroupExcludedWebsiteRepositoryInterface $groupExcludedWebsiteRepository;
38-
protected CookieHelper $cookieHelper;
39-
protected AutocompleteHelper $autocompleteHelper;
40-
protected InstantSearchHelper $instantSearchHelper;
25+
protected ?ConfigHelperTestable $configHelper;
26+
protected ?ScopeConfigInterface $configInterface;
27+
protected ?WriterInterface $configWriter;
28+
protected ?StoreManagerInterface $storeManager;
29+
protected ?Currency $currency;
30+
protected ?DirCurrency $dirCurrency;
31+
protected ?DirectoryList $directoryList;
32+
protected ?ResourceInterface $moduleResource;
33+
protected ?ProductMetadataInterface $productMetadata;
34+
protected ?ManagerInterface $eventManager;
35+
protected ?Serializer $serializer;
36+
protected ?GroupCollection $groupCollection;
37+
protected ?GroupExcludedWebsiteRepositoryInterface $groupExcludedWebsiteRepository;
38+
protected ?CookieHelper $cookieHelper;
39+
protected ?AutocompleteHelper $autocompleteHelper;
40+
protected ?InstantSearchHelper $instantSearchHelper;
4141

4242
protected function setUp(): void
4343
{

0 commit comments

Comments
 (0)