Completed
Pull Request — master (#3)
by Denis
01:50 queued 23s
created

EditAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
4
namespace Woo\GridView\Columns\Actions;
5
6
7
class EditAction extends Action
8
{
9
    public function __construct(string $url)
10
    {
11
        parent::__construct($url, '<i class="fa fa-"', $method);
0 ignored issues
show
Bug introduced by
The variable $method does not exist. Did you forget to declare it?

This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.

Loading history...
12
    }
13
}