diff options
Diffstat (limited to 'includes/resourceloader/ResourceLoaderFilePath.php')
-rw-r--r-- | includes/resourceloader/ResourceLoaderFilePath.php | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/includes/resourceloader/ResourceLoaderFilePath.php b/includes/resourceloader/ResourceLoaderFilePath.php index 33cfd8961cfa..db3fc77121f0 100644 --- a/includes/resourceloader/ResourceLoaderFilePath.php +++ b/includes/resourceloader/ResourceLoaderFilePath.php @@ -26,16 +26,13 @@ * @since 1.17 */ class ResourceLoaderFilePath { - /** @var string Local base path */ protected $localBasePath; /** @var string Remote base path */ protected $remoteBasePath; - /** - * @var string Path to the file - */ + /** @var string Path to the file */ protected $path; /** @@ -49,41 +46,31 @@ class ResourceLoaderFilePath { $this->remoteBasePath = $remoteBasePath; } - /** - * @return string - */ + /** @return string */ public function getLocalPath() { return $this->localBasePath === '' ? $this->path : "{$this->localBasePath}/{$this->path}"; } - /** - * @return string - */ + /** @return string */ public function getRemotePath() { return $this->remoteBasePath === '' ? $this->path : "{$this->remoteBasePath}/{$this->path}"; } - /** - * @return string - */ + /** @return string */ public function getLocalBasePath() { return $this->localBasePath; } - /** - * @return string - */ + /** @return string */ public function getRemoteBasePath() { return $this->remoteBasePath; } - /** - * @return string - */ + /** @return string */ public function getPath() { return $this->path; } |