RedConfig::getSpawn2()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Copyright (c) 2018 VectorNetworkProject. All rights reserved. MIT license.
4
 *
5
 * GitHub: https://github.com/VectorNetworkProject/TheMix
6
 * Website: https://www.vector-network.tk
7
 */
8
9
namespace VectorNetworkProject\TheMix\game\corepvp\red;
10
11
use VectorNetworkProject\TheMix\game\DefaultConfig;
12
13
class RedConfig extends DefaultConfig
0 ignored issues
show
Coding Style introduced by
RedConfig does not seem to conform to the naming convention (Utils?$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
14
{
15
    /**
16
     * @return array
17
     */
18
    public static function getSpawn1(): array
19
    {
20
        return self::getRedConfig()['spawn1'];
21
    }
22
23
    /**
24
     * @return array
25
     */
26
    public static function getSpawn2(): array
27
    {
28
        return self::getRedConfig()['spawn2'];
29
    }
30
31
    /**
32
     * @return array
33
     */
34
    public static function getCore(): array
35
    {
36
        return self::getRedConfig()['core'];
37
    }
38
}
39