Completed
Push — master ( 882345...5b1789 )
by Nic
14s queued 10s
created

LocationExtension   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A updateWebsiteURL() 0 3 1
1
<?php
2
3
namespace Dynamic\Locator\Tests\Extension;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\ORM\DataExtension;
7
8
/**
9
 * Class LocationExtension
10
 * @package Dynamic\Locator\Tests\Extension
11
 */
12
class LocationExtension extends DataExtension implements TestOnly
13
{
14
    /**
15
     * @param $url
16
     * @return string
17
     */
18
    public function updateWebsiteURL(&$url)
19
    {
20
        $url = 'foo';
21
    }
22
}
23