Completed
Pull Request — master (#7)
by Klaus
02:27
created

NullAdapter   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 14
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Linio\Component\Queue\Adapter;
6
7
use Linio\Component\Queue\AdapterInterface;
8
use Linio\Component\Queue\Job;
9
10
class NullAdapter implements AdapterInterface
11
{
12
    protected array $config;
0 ignored issues
show
Bug introduced by
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_ARRAY, expecting T_FUNCTION or T_CONST
Loading history...
13
14
    public function __construct(array $config = [])
15
    {
16
        $this->config = $config;
17
    }
18
19
    public function add(Job $job): void
20
    {
21
    }
22
23
    public function perform(Job $job): void
24
    {
25
    }
26
}
27