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

App   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 3
dl 0
loc 18
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A classes() 0 5 1
A context() 0 4 1
A templates() 0 4 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