mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Code lint fix
change `else if` to `elseif`
This commit is contained in:
parent
943821f984
commit
e1a4b89912
@ -71,7 +71,7 @@ class SimpleResourceURLGenerator implements ResourceURLGenerator
|
||||
$relativePath = $resource->getRelativePath();
|
||||
$exists = $resource->exists();
|
||||
$absolutePath = $resource->getPath();
|
||||
} else if (Director::is_absolute_url($relativePath)) {
|
||||
} elseif (Director::is_absolute_url($relativePath)) {
|
||||
// Path is not relative, and probably not of this site
|
||||
return $relativePath;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user