Skip to content

Commit 90090e5

Browse files
committed
31398: fix static failures
1 parent dc75032 commit 90090e5

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

app/code/Magento/Sales/Test/Unit/Block/Adminhtml/Items/AbstractTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2013 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

app/code/Magento/Sales/Test/Unit/Block/Adminhtml/Order/Status/Assign/FormTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function testToHtml(): void
102102

103103
$fieldset->method('addField')
104104
->willReturnCallback(
105+
// @phpstan-ignore-next-line
105106
function ($arg1, $arg2, $arg3) use ($statusesForField, $statesForField) {
106107
if ($arg1 === 'status' && $arg2 === 'select' && $arg3['name'] === 'status') {
107108
return null;

app/code/Magento/Store/Model/StoreSwitcher/HashGenerator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public function generateHash(StoreInterface $fromStore): array
9999
*/
100100
public function validateHash(string $signature, HashData $hashData): bool
101101
{
102+
// @phpstan-ignore-next-line
102103
if (!empty($signature) && !empty($hashData)) {
103104
$timeStamp = $hashData->getTimestamp();
104105
$fromStoreCode = $hashData->getFromStoreCode();

0 commit comments

Comments
 (0)