NullMessage::format()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Elgg\I18n;
3
4
/**
5
 * WARNING: API IN FLUX. DO NOT USE DIRECTLY.
6
 * 
7
 * A message that always ignores all parameters and just returns the template.
8
 * 
9
 * @since 1.11
10
 * 
11
 * @access private
12
 */
13
final class NullMessage extends Message {
14
	/** @inheritDoc */
15
	public function format(array $args) {
16
		return "$this";
17
	}
18
}