Test Failed
Push — master ( 28ea53...a47f4f )
by Jean-Christophe
23:07 queued 18s
created

HidePassword   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 2
c 1
b 0
f 1
dl 0
loc 4
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A toView() 0 2 1
1
<?php
2
3
namespace Ubiquity\contents\transformation\transformers;
4
5
use Ubiquity\contents\transformation\TransformerViewInterface;
6
7
/**
8
 * Hide a password.
9
 * Ubiquity\contents\transformation\transformers$HidePassword
10
 * This class is part of Ubiquity
11
 *
12
 * @author jcheron <[email protected]>
13
 * @version 1.0.0
14
 * @since 2.5.3
15
 */
16
class HidePassword implements TransformerViewInterface {
17
18
	public static function toView($value) {
19
		return '';
20
	}
21
}
22