Correctly default to null and add type hint

This commit is contained in:
Joas Schilling 2016-03-07 10:48:16 +01:00
parent 0945cb7a0e
commit 9ec89b99b1
1 changed files with 1 additions and 1 deletions

View File

@ -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;