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
* @access public
*/
function _parse_lockinfo($path)
function __construct($path)
{
// we assume success unless problems occur
$this->success = true;

View File

@ -111,7 +111,7 @@ class _parse_propfind
* @param string $path
* @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
$this->success = true;

View File

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