[Pkg-owncloud-commits] [php-sabredav] 117/163: Better docblocks

David Prévot taffit at moszumanska.debian.org
Tue May 20 18:55:00 UTC 2014


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

taffit pushed a commit to annotated tag upstream/2.0.0_beta1
in repository php-sabredav.

commit a219c0f1ed08919766da5b6c3b681758bdd39daf
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Sat May 3 23:11:52 2014 -0400

    Better docblocks
---
 lib/Sabre/DAV/PropFind.php                    | 2 +-
 lib/Sabre/DAV/Property/SupportedMethodSet.php | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Sabre/DAV/PropFind.php b/lib/Sabre/DAV/PropFind.php
index 9fc200a..7a7d665 100644
--- a/lib/Sabre/DAV/PropFind.php
+++ b/lib/Sabre/DAV/PropFind.php
@@ -115,8 +115,8 @@ class PropFind {
      * properties, and 404 for null properties.
      *
      * @param string $propertyName
-     * @param int $status
      * @param mixed $value
+     * @param int $status
      * @return void
      */
     public function set($propertyName, $value, $status = null) {
diff --git a/lib/Sabre/DAV/Property/SupportedMethodSet.php b/lib/Sabre/DAV/Property/SupportedMethodSet.php
index 2e21724..dfb4420 100644
--- a/lib/Sabre/DAV/Property/SupportedMethodSet.php
+++ b/lib/Sabre/DAV/Property/SupportedMethodSet.php
@@ -18,7 +18,7 @@ class SupportedMethodSet extends DAV\Property {
     /**
      * List of methods
      *
-     * @var array
+     * @var string[]
      */
     protected $methods = [];
 
@@ -27,7 +27,7 @@ class SupportedMethodSet extends DAV\Property {
      *
      * Any reports passed in the constructor should be valid HTTP methods.
      *
-     * @param array $methods
+     * @param string[] $methods
      */
     public function __construct(array $method) {
 
@@ -38,7 +38,7 @@ class SupportedMethodSet extends DAV\Property {
     /**
      * Returns the list of supported methods.
      *
-     * @return array
+     * @return string[]
      */
     public function getValue() {
 

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