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.
Passed
Push — master ( ed2944...746095 )
by Alex
03:36
created

AttachmentContainer::addAttachment()   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 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: alex
5
 * Date: 08.12.16
6
 * Time: 20:54
7
 */
8
9
namespace Conversio\Mail\Attachment;
10
11
use Conversio\Mail\Container\AbstractContainer;
12
13
/**
14
 * Class AttachmentContainer
15
 * @package Conversio\Mail\Attachment
16
 */
17
class AttachmentContainer extends AbstractContainer
18
{
19
    /**
20
     * @param AttachmentInterface $attachment
21
     */
22
    public function addAttachment(AttachmentInterface $attachment)
23
    {
24
        $this->store[] = $attachment;
25
    }
26
27
    /**
28
     * @return AttachmentInterface[]
29
     */
30
    public function asArray(): array
31
    {
32
        return parent::asArray();
33
    }
34
}