fix PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP

This commit is contained in:
Ralf Becker 2016-05-26 11:27:03 +02:00
parent 5f62492b9c
commit 2b2845fff7
3 changed files with 18 additions and 18 deletions

View File

@ -89,7 +89,7 @@ class _parse_lockinfo
* @param string path of stream to read * @param string path of stream to read
* @access public * @access public
*/ */
function _parse_lockinfo($path) function __construct($path)
{ {
// we assume success unless problems occur // we assume success unless problems occur
$this->success = true; $this->success = true;

View File

@ -109,9 +109,9 @@ class _parse_propfind
* *
* @access public * @access public
* @param string $path * @param string $path
* @param boolean $store_request=false if true whole request data will be made available in $this->request * @param boolean $store_request =false if true whole request data will be made available in $this->request
*/ */
function _parse_propfind($path, $store_request=false) function __construct($path, $store_request=false)
{ {
// success state flag // success state flag
$this->success = true; $this->success = true;

View File

@ -94,10 +94,10 @@ class _parse_proppatch
* constructor * constructor
* *
* @param string path of input stream * @param string path of input stream
* @param boolean $store_request=false if true whole request data will be made available in $this->request * @param boolean $store_request =false if true whole request data will be made available in $this->request
* @access public * @access public
*/ */
function _parse_proppatch($path, $store_request=false) function __construct($path, $store_request=false)
{ {
$this->success = true; $this->success = true;