Completed
Pull Request — develop (#27)
by Chris
04:43
created

MediaSegment   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A shouldParseNextLine() 0 4 2
1
<?php
2
3
namespace Chrisyue\PhpM3u8\M3u8\Core;
4
5
use Chrisyue\PhpM3u8\M3u8\SequenceAwareTrait;
6
7
/**
8
 * @Annotation
9
 */
10
class MediaSegment extends AbstractAnnotationReadable implements ChildCoreInterface
11
{
12
    use SequenceAwareTrait;
13
14
    protected function shouldParseNextLine($result)
15
    {
16
        return null !== $result && null === $result->uri;
17
    }
18
}
19