Passed
Push — master ( 96d33b...43186b )
by Gabriel
13:27
created

UpdateFromTransactionToken   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 4
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 2 1
1
<?php
2
3
namespace ByTIC\Payments\Actions\Subscriptions;
4
5
/**
6
 * Class UpdateFromTransactionToken
7
 * @package ByTIC\Payments\Actions\Subscriptions
8
 */
9
class UpdateFromTransactionToken
10
{
11
    public static function handle($purchase, $transaction)
0 ignored issues
show
Unused Code introduced by
The parameter $purchase is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

11
    public static function handle(/** @scrutinizer ignore-unused */ $purchase, $transaction)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $transaction is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

11
    public static function handle($purchase, /** @scrutinizer ignore-unused */ $transaction)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
12
    {
13
14
    }
15
16
}