Completed
Push — master ( 717b1b...de6dfe )
by Dmitry
06:37
created

World   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 5 1
1
<?php
2
3
namespace Jobs\Hello;
4
5
/**
6
 * Example job for greeting
7
 */
8
class World
9
{
10
    public $name = 'world';
11
12
    function run()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
13
    {
14
        $message = "hello $this->name!";
15
        return compact('message');
16
    }
17
}