Passed
Push — master ( ebd15c...0c2c47 )
by Vladyslav
02:20
created

Helpers   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A boolToString() 0 3 2
1
<?php
2
3
namespace Vados\MigrationRunner;
4
5
/**
6
 * Class Helpers
7
 */
8
class Helpers
9
{
10
    /**
11
     * @var bool $value
12
     * @return string
13
     */
14
    public static function boolToString(bool $value): string
15
    {
16
        return $value ? 'true' : 'false';
17
    }
18
}