GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — develop ( 1d588e...f425f6 )
by Tom Van
03:10 queued 01:07
created

Exif::getFilename()   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 0
1
<?php
2
/**
3
 * Exif: A container class for EXIF data
4
 *
5
 * @link        http://github.com/PHPExif/php-exif-common for the canonical source repository
6
 * @copyright   Copyright (c) 2016 Tom Van Herreweghe <[email protected]>
7
 * @license     http://github.com/PHPExif/php-exif-common/blob/master/LICENSE MIT License
8
 * @category    PHPExif
9
 * @package     Common
10
 */
11
12
namespace PHPExif\Common\Data;
13
14
use PHPExif\Common\Data\ValueObject\Exif\Aperture;
15
use PHPExif\Common\Data\ValueObject\Exif\Filename;
16
use PHPExif\Common\Data\ValueObject\Exif\MimeType;
17
18
/**
19
 * Exif class
20
 *
21
 * Container for EXIF data
22
 *
23
 * @category    PHPExif
24
 * @package     Common
25
 */
26
final class Exif implements ExifInterface
27
{
28
    /**
29
     * @var Aperture
30
     */
31
    private $aperture;
32
33
    /**
34
     * @var Filename
35
     */
36
    private $filename;
37
38
    /**
39
     * @var MimeType
40
     */
41
    private $mimeType;
42
43
    /**
44
     * {@inheritDoc}
45
     */
46
    public function getAperture()
47
    {
48
        return $this->aperture;
49
    }
50
51
    /**
52
     * {@inheritDoc}
53
     */
54
    public function withAperture(Aperture $aperture)
55
    {
56
        $new = clone $this;
57
        $new->aperture = $aperture;
58
59
        return $new;
60
    }
61
62
    /**
63
     * {@inheritDoc}
64
     */
65
    public function getMimeType()
66
    {
67
        return $this->mimeType;
68
    }
69
70
    /**
71
     * {@inheritDoc}
72
     */
73
    public function withMimeType(MimeType $mimeType)
74
    {
75
        $new = clone $this;
76
        $new->mimeType = $mimeType;
77
78
        return $new;
79
    }
80
81
    /**
82
     * {@inheritDoc}
83
     */
84
    public function getFilename()
85
    {
86
        return $this->filename;
87
    }
88
89
    /**
90
     * {@inheritDoc}
91
     */
92
    public function withFilename(Filename $filename)
93
    {
94
        $new = clone $this;
95
        $new->filename = $filename;
96
97
        return $new;
98
    }
99
}
100