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

LocationExtension::updateWebsiteURL()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 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