Skip to content

Commit acc4663

Browse files
committed
inline condition
1 parent 4e2023f commit acc4663

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Model/Action/PerformedBy/Guest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ public function get(): string
3636
{
3737
$order = $this->coreRegistry->registry('current_order');
3838

39-
return $order && $order instanceof Order
40-
? $order->getData($this->attributeName)
41-
: '';
39+
return $order && $order instanceof Order ? $order->getData($this->attributeName) : '';
4240
}
4341
}

0 commit comments

Comments
 (0)