[Pkg-owncloud-commits] [php-sabredav] 68/220: fixed File::put() phpdoc contract

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:09 UTC 2016


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

taffit pushed a commit to branch master
in repository php-sabredav.

commit 535ae69099b680f0a38a9203f9015b6effa45f40
Author: Markus Staab <maggus.staab at googlemail.com>
Date:   Tue Feb 16 10:42:48 2016 +0100

    fixed File::put() phpdoc contract
    
    subclasses are meant to support both, string and resource
---
 lib/DAV/File.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DAV/File.php b/lib/DAV/File.php
index e0a0391..9589112 100644
--- a/lib/DAV/File.php
+++ b/lib/DAV/File.php
@@ -19,7 +19,7 @@ abstract class File extends Node implements IFile {
      *
      * data is a readable stream resource.
      *
-     * @param resource $data
+     * @param string|resource $calendarData
      * @return void
      */
     function put($data) {

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



More information about the Pkg-owncloud-commits mailing list