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

NullAdapter::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
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