Passed
Push — master ( d1c5a6...bac8bf )
by Fabian
03:36 queued 12s
created

NullStrategy   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 6
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A process() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Fabiang\AsseticBundle\CacheBuster;
6
7
use Assetic\Contracts\Asset\AssetInterface;
8
use Assetic\Contracts\Factory\Worker\WorkerInterface;
9
use Assetic\Factory\AssetFactory;
10
11
class NullStrategy implements WorkerInterface
12
{
13
14
    public function process(AssetInterface $asset, AssetFactory $factory): ?AssetInterface
15
    {
16
        return null;
17
    }
18
19
}
20