aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggPluginManifest.php10
-rw-r--r--engine/tests/api/plugins.php4
2 files changed, 7 insertions, 7 deletions
diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php
index 5eb248c2c..5706d1e42 100644
--- a/engine/classes/ElggPluginManifest.php
+++ b/engine/classes/ElggPluginManifest.php
@@ -264,7 +264,7 @@ class ElggPluginManifest {
/**
* Returns the license
*
- * @return sting
+ * @return string
*/
public function getLicense() {
// license vs licence. Use license.
@@ -279,16 +279,16 @@ class ElggPluginManifest {
/**
* Returns the repository url
*
- * @return sting
+ * @return string
*/
- public function getRepository() {
+ public function getRepositoryURL() {
return $this->parser->getAttribute('repository');
}
/**
* Returns the bug tracker page
*
- * @return sting
+ * @return string
*/
public function getBugTracker() {
return $this->parser->getAttribute('bugtracker');
@@ -297,7 +297,7 @@ class ElggPluginManifest {
/**
* Returns the donations page
*
- * @return sting
+ * @return string
*/
public function getDonationsPage() {
return $this->parser->getAttribute('donations');
diff --git a/engine/tests/api/plugins.php b/engine/tests/api/plugins.php
index 66297266c..3b650f1b0 100644
--- a/engine/tests/api/plugins.php
+++ b/engine/tests/api/plugins.php
@@ -169,8 +169,8 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
}
public function testElggPluginManifestGetRepository() {
- $this->assertEqual($this->manifest18->getRepository(), 'https://github.com/Elgg/Elgg');
- $this->assertEqual($this->manifest17->getRepository(), '');
+ $this->assertEqual($this->manifest18->getRepositoryURL(), 'https://github.com/Elgg/Elgg');
+ $this->assertEqual($this->manifest17->getRepositoryURL(), '');
}
public function testElggPluginManifestGetBugtracker() {