Completed
Branch develop (a0a623)
by Romain
02:33
created

Audio   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace Kerox\Messenger\Message\Attachment;
3
4
use Kerox\Messenger\Message\Attachment;
5
6
class Audio extends File
7
{
8
9
    /**
10
     * Audio constructor.
11
     *
12
     * @param string $url
13
     * @param bool|null $reusable
14
     */
15
    public function __construct($url, bool $reusable = null)
16
    {
17
        parent::__construct($url, $reusable, Attachment::TYPE_AUDIO);
18
    }
19
}