Boilerplate::testInit()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * PHP Package Boilerplate
5
 * Boilerplate for PHP packages.
6
 *
7
 * @link https://github.com/janesmae/php-package-boilerplate
8
 *
9
 * @version 0.1.0
10
 *
11
 * @author Jaan Janesmae <[email protected]>
12
 * @copyright 2016 Jaan Janesmae
13
 * @license MIT License (https://github.com/janesmae/php-package-boilerplate/blob/master/LICENSE)
14
 */
15
namespace janesmae\boilerplate;
16
17
/**
18
 * Class Boilerplate.
19
 *
20
 * @since 0.1.0
21
 */
22
class Boilerplate
23
{
24
    /**
25
     * @param bool $bool
26
     *
27
     * @return bool
28
     */
29
    public function testInit($bool = true)
30
    {
31
        return $bool;
32
    }
33
}
34