From 89fcf7e84455aa1bba715ad4924c6a85c7dbe8a7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 6 Jun 2016 13:54:09 +0200 Subject: [PATCH] fix a PHP Strict Standards: Declaration of *_groupdav::propfind_callback() should be compatible with & EGroupware\Api\CalDAV\Handler::propfind_callback --- api/src/CalDAV/Handler.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api/src/CalDAV/Handler.php b/api/src/CalDAV/Handler.php index d96eeb06c3..008e7f198f 100644 --- a/api/src/CalDAV/Handler.php +++ b/api/src/CalDAV/Handler.php @@ -152,12 +152,11 @@ abstract class Handler * @param string $path * @param array $filter * @param array|boolean $start false=return all or array(start,num) - * @param int &$total * @return array with "files" array with values for keys path and props */ - function &propfind_callback($path, array $filter,$start,&$total) + function &propfind_callback($path, array $filter, $start) { - unset($path, $filter, $start, $total); // not used, but required by function signature + unset($path, $filter, $start); // not used, but required by function signature } /**