Passed
Push — dev ( 345a82...5b87e8 )
by Greg
02:57
created

Unsanitize   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A text() 0 3 1
1
<?php
2
namespace GJClasses;
3
4
class Unsanitize
5
{
6
7
   public function text($text)
8
    {
9
        return htmlspecialchars_decode($text, ENT_QUOTES);
10
11
    }
12
13
}
14