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 ( b817f3...68c60c )
by Piyapan
03:19
created

LaravelSessionStore::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace RaysTech\StarterKit\Supports;
3
use Illuminate\Session\Store;
4
5
class LaravelSessionStore implements SessionStore
6
{
7
    /**
8
     * @var Store
9
     */
10
    private $session;
11
    /**
12
     * Create a new session store instance.
13
     *
14
     * @param Store $session
15
     */
16
    function __construct(Store $session)
17
    {
18
        $this->session = $session;
19
    }
20
    /**
21
     * Flash a message to the session.
22
     *
23
     * @param string $name
24
     * @param array  $data
25
     */
26
    public function flash($name, $data)
27
    {
28
        $this->session->flash($name, $data);
29
    }
30
}