Test Setup Failed
Push — master ( f37a40...b20e5e )
by Zacchaeus
03:44 queued 12s
created

parts_of_speech()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 2
rs 10
cc 1
nc 1
nop 0
1
<?php
2
if(!function_exists('part_of_speech')) {
3
    function part_of_speech($word) {
4
        return (new \Djunehor\Grammar\Word())->getWordPartOfSpeech($word);
5
    }
6
}
7
8
if(!function_exists('parts_of_speech')) {
9
    function parts_of_speech() {
10
        return (new \Djunehor\Grammar\Word())->getPartsOfSpeech();
11
    }
12
}
13