We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4534e2d commit cf1370fCopy full SHA for cf1370f
app/code/Magento/Checkout/Test/Fixture/SetPaymentMethod.php
@@ -72,7 +72,7 @@ public function apply(array $data = []): ?DataObject
72
*/
73
private function prepareData(array $data): array
74
{
75
- if (is_string($data['method'])) {
+ if (isset($data['method']) && is_string($data['method'])) {
76
$data['method'] = ['method' => $data['method']];
77
}
78
0 commit comments