Completed
Pull Request — master (#30)
by Beñat
29:25
created

App::context()   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
/*
4
 * This file is part of the WordPress Standard project.
5
 *
6
 * Copyright (c) 2015-present LIN3S <[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
declare(strict_types=1);
13
14
namespace App;
15
16
use App\Configuration\Login;
17
use App\Configuration\Menus;
18
use LIN3S\WPFoundation\Configuration\Theme\Theme;
19
20
class App extends Theme
21
{
22
    public function classes() : void
23
    {
24
        new Login();
25
        new Menus();
26
    }
27
28
    public function context(array $context) : array
29
    {
30
        return $context;
31
    }
32
33
    public function templates($templates)
34
    {
35
        return $templates;
36
    }
37
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
38