diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-07 13:50:53 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-07 13:50:53 +0100 |
commit | bd4b61f52b21a30fc524a779e94717c0ec2c576b (patch) | |
tree | 8b01fcc5c770bdb37e4ecbf9d909b39aa480c00d | |
parent | 3b7a59f66bf5f6b48d1ecd4986d17aa990a377ba (diff) | |
parent | c99ae62c336664654b9214a82a06eb24359af323 (diff) | |
download | nextcloud-server-bd4b61f52b21a30fc524a779e94717c0ec2c576b.tar.gz nextcloud-server-bd4b61f52b21a30fc524a779e94717c0ec2c576b.zip |
Merge pull request #22896 from owncloud/fix-v1-carddav-endpoint
Correctly default to null and add type hint
-rw-r--r-- | apps/dav/lib/carddav/carddavbackend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/carddav/carddavbackend.php b/apps/dav/lib/carddav/carddavbackend.php index 687ef7f3a87..bfb6ea82ad7 100644 --- a/apps/dav/lib/carddav/carddavbackend.php +++ b/apps/dav/lib/carddav/carddavbackend.php @@ -78,7 +78,7 @@ class CardDavBackend implements BackendInterface, SyncSupport { */ public function __construct(IDBConnection $db, Principal $principalBackend, - $dispatcher ) { + EventDispatcherInterface $dispatcher = null) { $this->db = $db; $this->principalBackend = $principalBackend; $this->dispatcher = $dispatcher; |