Test Failed
Pull Request — master (#660)
by butschster
09:30
created

NullBroadcast   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 4
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A publish() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Spiral\Broadcasting\Driver;
6
7
use Spiral\Broadcasting\BroadcastInterface;
8
9
final class NullBroadcast implements BroadcastInterface
10
{
11
    public function publish($topics, $messages): void
12
    {
13
        // Do nothing
14
    }
15
}
16