mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Solved more problems of issues #4
This commit is contained in:
parent
578131e22a
commit
f70d2c6884
4 changed files with 20 additions and 30 deletions
|
|
@ -149,7 +149,7 @@ class Client {
|
|||
* @param int $depth
|
||||
* @return array
|
||||
*/
|
||||
public function propFind($url, array $properties, $depth = 0) {
|
||||
public function propFind($url, array $properties, $depth = 0) : array {
|
||||
|
||||
$body = '<?xml version="1.0"?>' . "\n";
|
||||
$body.= '<d:propfind xmlns:d="DAV:">' . "\n";
|
||||
|
|
@ -304,9 +304,8 @@ class Client {
|
|||
* @param string $url
|
||||
* @param string $body
|
||||
* @param array $headers
|
||||
* @return array
|
||||
*/
|
||||
public function request($method, $url = '', $body = null, $headers = array()) {
|
||||
public function request($method, $url = '', $body = null, $headers = array()) : array {
|
||||
|
||||
$url = $this->getAbsoluteUrl($url);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue