| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 4 | public static function newFromLexicalString($lexicalString, $maxVariants = null, &$article = null) |
|
| 29 | { |
||
| 30 | /* @var ArticleWord $word */ |
||
| 31 | 4 | $word = parent::newFromLexicalString($lexicalString, $maxVariants); |
|
| 32 | 4 | if ($article !== null) { |
|
| 33 | 4 | $word->article = &$article; |
|
| 34 | 4 | } |
|
| 35 | 4 | return $word; |
|
| 36 | } |
||
| 54 |