Code lint fix

change `else if` to `elseif`
This commit is contained in:
Dylan Wagstaff 2018-01-24 09:04:22 +13:00 committed by GitHub
parent 943821f984
commit e1a4b89912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {