[Pkg-owncloud-commits] [php-sabredav] 23/66: Use the short classname when possible.

David Prévot taffit at moszumanska.debian.org
Wed May 27 13:56:45 UTC 2015


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

taffit pushed a commit to tag 3.0.0-alpha1
in repository php-sabredav.

commit 80e1920a38f21ce0d31ee6ade5cdb2a14cea390f
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date:   Thu Apr 16 22:28:02 2015 +0200

    Use the short classname when possible.
    
    The `Sabre\DAV` namespace is already declared, we just use it.
---
 lib/DAVACL/PrincipalBackend/PDO.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/DAVACL/PrincipalBackend/PDO.php b/lib/DAVACL/PrincipalBackend/PDO.php
index 9eaeede..61cf7bf 100644
--- a/lib/DAVACL/PrincipalBackend/PDO.php
+++ b/lib/DAVACL/PrincipalBackend/PDO.php
@@ -176,9 +176,9 @@ class PDO extends AbstractBackend implements CreatePrincipalSupport {
      * Read the PropPatch documenation for more info and examples.
      *
      * @param string $path
-     * @param \Sabre\DAV\PropPatch $propPatch
+     * @param DAV\PropPatch $propPatch
      */
-    function updatePrincipal($path, \Sabre\DAV\PropPatch $propPatch) {
+    function updatePrincipal($path, DAV\PropPatch $propPatch) {
 
         $propPatch->handle(array_keys($this->fieldMap), function($properties) use ($path) {
 

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



More information about the Pkg-owncloud-commits mailing list