[Pkg-owncloud-commits] [owncloud] 59/273: Redeclared as public to allow invocation from within the closure in php 5.3

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:12:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 4c80c9595ff8897171bb061c0d6749257e73f802
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Thu Jun 26 14:27:41 2014 +0200

    Redeclared as public to allow invocation from within the closure in php 5.3
---
 lib/private/repair.php | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/lib/private/repair.php b/lib/private/repair.php
index 23d1c2b..db2a044 100644
--- a/lib/private/repair.php
+++ b/lib/private/repair.php
@@ -13,7 +13,7 @@ use OC\Hooks\Emitter;
 
 class Repair extends BasicEmitter {
 	/**
-	 * @var array
+	 * @var RepairStep[]
 	 **/
 	private $repairSteps;
 
@@ -80,4 +80,13 @@ class Repair extends BasicEmitter {
 	public static function getBeforeUpgradeRepairSteps() {
 		return array();
 	}
+
+	/**
+	 * {@inheritDoc}
+	 *
+	 * Redeclared as public to allow invocation from within the closure above in php 5.3
+	 */
+	public function emit($scope, $method, $arguments = array()) {
+		parent::emit($scope, $method, $arguments);
+	}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list