Skip to content

Commit 268d2bb

Browse files
committed
Refactor: PriceBackend plugin
1 parent b979e0a commit 268d2bb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app/code/Magento/Bundle/Model/Plugin/PriceBackend.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<?php
2+
23
/**
34
* Copyright © Magento, Inc. All rights reserved.
45
* See COPYING.txt for license details.
56
*/
7+
declare(strict_types=1);
8+
69
namespace Magento\Bundle\Model\Plugin;
710

811
/**
9-
* Class PriceBackend
10-
*
11-
* Make price validation optional for bundle dynamic
12+
* Make price validation optional for bundle dynamic
1213
*/
1314
class PriceBackend
1415
{
@@ -30,6 +31,7 @@ public function aroundValidate(
3031
) {
3132
return true;
3233
}
34+
3335
return $proceed($object);
3436
}
3537
}

0 commit comments

Comments
 (0)