diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-03-07 10:48:16 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-03-07 10:48:16 +0100 |
commit | c99ae62c336664654b9214a82a06eb24359af323 (patch) | |
tree | fd7c40c86a8195ade30cbc5b41f39f0b5b100870 /apps/dav | |
parent | c07b731689de6fe754e108688ccf71342aad95ef (diff) | |
download | nextcloud-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.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; |