Passed
Push — quality ( aaf71d...3e536e )
by Arnaud
09:55
created

Collection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A get() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of Cecil.
7
 *
8
 * Copyright (c) Arnaud Ligny <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Cecil\Collection\Taxonomy;
15
16
use Cecil\Collection\Collection as CecilCollection;
17
18
/**
19
 * Class Collection.
20
 */
21
class Collection extends CecilCollection
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function get(string $id): Vocabulary
27
    {
28
        return parent::get($id);
29
    }
30
}
31