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 ( b2510c...ee0bb8 )
by
unknown
12:46
created

TemplateDefault::homepage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace SleepingOwl\Admin\Templates;
4
5
class TemplateDefault extends Template
6
{
7
    /**
8
     * Получение названия текущего шаблона.
9
     *
10
     * @return string
11
     */
12
    public function name()
13
    {
14
        return 'AdminLTE 2';
15
    }
16
17
    /**
18
     * Версия темы.
19
     *
20
     * @return string
21
     */
22
    public function version()
23
    {
24
        return '2.3.8';
25
    }
26
27
    /**
28
     * URL проекта.
29
     *
30
     * @return string
31
     */
32
    public function homepage()
33
    {
34
        return 'https://almsaeedstudio.com/';
35
    }
36
37 285
    public function initialize()
38
    {
39 285
        $this->meta()
40 285
            ->addJs('admin-default', $this->assetPath('js/admin-app.js'))
41 285
            ->addCss('admin-default', $this->assetPath('css/admin-app.css'));
42 285
    }
43
44
    /**
45
     * @return string
46
     */
47 285
    public function getViewNamespace()
48
    {
49 285
        return 'sleeping_owl::default';
50
    }
51
52
    /**
53
     * Получение относительного пути хранения asset файлов.
54
     *
55
     * @return string
56
     */
57 285
    public function assetDir()
58
    {
59 285
        return 'packages/sleepingowl/default';
60
    }
61
62
    /**
63
     * @return string
64
     */
65 1
    public function getLogo()
66
    {
67 1
        return config('sleeping_owl.logo');
68
    }
69
70
    /**
71
     * @return string
72
     */
73 1
    public function getLogoMini()
74
    {
75 1
        return config('sleeping_owl.logo_mini');
76
    }
77
}
78