Completed
Push — master ( 6e6016...262f95 )
by Peter
05:50
created

ResponseRepair   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 12
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A repair() 0 4 1
1
<?php
2
/**
3
 * AnimeDb package
4
 *
5
 * @author    Peter Gribanov <[email protected]>
6
 * @copyright Copyright (c) 2011, Peter Gribanov
7
 * @license   http://opensource.org/licenses/GPL-3.0 GPL v3
8
 */
9
namespace AnimeDb\Bundle\AniDbBrowserBundle\Util;
10
11
class ResponseRepair
12
{
13
    /**
14
     * @param string $content
15
     *
16
     * @return string
17
     */
18 5
    public function repair($content)
19
    {
20 5
        return str_replace("\xf0\x9d\x84\x87", '', $content); // \u1D107
21
    }
22
}
23