Skip to content

Commit 6ec31a5

Browse files
authored
Merge pull request #112 from BearGroup/asd-1253
ASD-1253 - Remove mixed type references in function signatures (PHP 7
2 parents 1e02764 + 136598b commit 6ec31a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Helper/SubscriptionHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function ($subscription) use ($publicHash) {
194194
* @param mixed $value
195195
* @return Filter
196196
*/
197-
private function buildFilter(string $field, mixed $value)
197+
private function buildFilter(string $field, $value)
198198
{
199199
return $this->filterBuilder
200200
->setField($field)

Helper/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function getIncomplete()
131131
* @param mixed $transactionId
132132
* @return void
133133
*/
134-
public function closeTransaction(mixed $transactionId)
134+
public function closeTransaction($transactionId)
135135
{
136136
$transaction = $this->transactionRepository->get($transactionId);
137137
$transaction->setIsClosed(true);

Model/CheckoutSessionManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ private function closeChargePermission($amazonSessionId, OrderInterface $order,
14051405
* @param mixed $orderId
14061406
* @return void
14071407
*/
1408-
public function setOrderPendingPaymentReview(mixed $orderId)
1408+
public function setOrderPendingPaymentReview($orderId)
14091409
{
14101410
try {
14111411
if (!$orderId) {

0 commit comments

Comments
 (0)