Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public function unserializeData($data)
/**
* @param array|null $data
*/
public function saveResultQuotes(array $data = null)
public function saveResultQuotes(?array $data = null)
{
$this->customerSession->setData(self::RESULT_QUOTES, $data);
}
Expand Down Expand Up @@ -539,7 +539,7 @@ protected function getTrack($trackingUrl)
* @return array|null
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function getAdditionalInformation(array $additional = null)
public function getAdditionalInformation(?array $additional = null)
{
$result = [
'client_type' => $this->getCustomerGroup(),
Expand Down
4 changes: 2 additions & 2 deletions Model/Config/CronConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public function __construct(
\Magento\Framework\App\Config\ScopeConfigInterface $config,
\Magento\Framework\App\Cache\TypeListInterface $cacheTypeList,
\Magento\Framework\App\Config\ValueFactory $configValueFactory,
\Magento\Framework\Model\ResourceModel\AbstractResource $resource = null,
\Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null,
\Magento\Framework\Model\ResourceModel\AbstractResource|null $resource = null,
\Magento\Framework\Data\Collection\AbstractDb|null $resourceCollection = null,
$runModelPath = '',
array $data = []
) {
Expand Down
4 changes: 2 additions & 2 deletions Model/ResourceModel/Shipment/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public function __construct(
FetchStrategyInterface $fetchStrategy,
ManagerInterface $eventManager,
StoreManagerInterface $storeManager,
AdapterInterface $connection = null,
AbstractDb $resource = null
AdapterInterface|null $connection = null,
AbstractDb|null $resource = null
)
{
$this->_init(
Expand Down