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

Audio::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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