Skip to content

Commit 6a8bd05

Browse files
committed
Explicitly mark logger parameter as nullable
1 parent 8f89f1b commit 6a8bd05

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/MediaGalleryUi/Model/SearchCriteria/CollectionProcessor/FilterProcessor

1 file changed

+1
-1
lines changed

app/code/Magento/MediaGalleryUi/Model/SearchCriteria/CollectionProcessor/FilterProcessor/Directory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Directory implements CustomFilterInterface
2323
/**
2424
* @param LoggerInterface|null $logger
2525
*/
26-
public function __construct(LoggerInterface $logger = null)
26+
public function __construct(?LoggerInterface $logger = null)
2727
{
2828
$this->logger = $logger ?: ObjectManager::getInstance()->create(LoggerInterface::class);
2929
}

0 commit comments

Comments
 (0)