Completed
Push — master ( 1ec169...7245a1 )
by Michal
04:38
created

common.php ➔ __()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 2
c 1
b 1
f 0
nc 1
nop 1
dl 0
loc 4
ccs 1
cts 1
cp 1
crap 1
rs 10
1
<?php
2
3
/**
4
 * Defines common elements used by the library.
5
 *
6
 * @package SqlParser
7
 */
8
9 4
if (!function_exists('__')) {
10
    /**
11
     * Translates the given string.
12
     *
13
     * @param string $str String to be translated.
14
     *
15
     * @return string
16
     */
17
    function __($str)
18
    {
19 47
        return $str;
20
    }
21
}
22