summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-03-07 10:48:16 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-03-07 10:48:16 +0100
commitc99ae62c336664654b9214a82a06eb24359af323 (patch)
treefd7c40c86a8195ade30cbc5b41f39f0b5b100870 /apps/dav
parentc07b731689de6fe754e108688ccf71342aad95ef (diff)
downloadnextcloud-server-c99ae62c336664654b9214a82a06eb24359af323.tar.gz
nextcloud-server-c99ae62c336664654b9214a82a06eb24359af323.zip
Correctly default to null and add type hint
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/carddav/carddavbackend.php2
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;