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 — master ( be37ae...1ed430 )
by Christian
190:32 queued 121:52
created

OutputEvent::getPdf()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * (c) Christian Gripp <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Core23\DompdfBundle\Event;
13
14
use Dompdf\Dompdf;
15
use Symfony\Component\EventDispatcher\Event;
16
17
final class OutputEvent extends Event
18
{
19
    /**
20
     * @var Dompdf
21
     */
22
    private $pdf;
23
24
    /**
25
     * @var string
26
     */
27
    private $html;
28
29
    /**
30
     * @param Dompdf $pdf
31
     * @param string $html
32
     */
33
    public function __construct(Dompdf $pdf, string $html)
34
    {
35
        $this->pdf      = $pdf;
36
        $this->html     = $html;
37
    }
38
39
    /**
40
     * Returns the dompdf instance.
41
     *
42
     * @return Dompdf
43
     */
44
    public function getPdf(): Dompdf
45
    {
46
        return $this->pdf;
47
    }
48
49
    /**
50
     * Returns the html.
51
     *
52
     * @return string
53
     */
54
    public function getHtml(): string
55
    {
56
        return $this->html;
57
    }
58
}
59