File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
app/code/Magento/Sales/Model Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -133,10 +133,9 @@ public function execute(
133133 \Magento \Sales \Api \Data \CreditmemoCommentCreationInterface $ comment = null ,
134134 \Magento \Sales \Api \Data \CreditmemoCreationArgumentsInterface $ arguments = null
135135 ) {
136- // phpstan:ignore "File has calls static method. (phpStaticMethodCalls)"
137136 return $ this ->orderMutex ->execute (
138137 (int ) $ orderId ,
139- \Closure::fromCallable ([$ this , 'createRefund ' ]),
138+ \Closure::fromCallable ([$ this , 'createRefund ' ]),// phpstan:ignore
140139 [
141140 $ orderId ,
142141 $ items ,
Original file line number Diff line number Diff line change @@ -149,10 +149,9 @@ public function execute(
149149 array $ packages = [],
150150 \Magento \Sales \Api \Data \ShipmentCreationArgumentsInterface $ arguments = null
151151 ) {
152- // phpstan:ignore "File has calls static method. (phpStaticMethodCalls)"
153152 return $ this ->orderMutex ->execute (
154153 (int )$ orderId ,
155- \Closure::fromCallable ([$ this , 'createShipment ' ]),
154+ \Closure::fromCallable ([$ this , 'createShipment ' ]),// phpstan:ignore
156155 [
157156 $ orderId ,
158157 $ items ,
You can’t perform that action at this time.
0 commit comments