Merge pull request #22897 from owncloud/backport-22896

[9.0] Correctly default to null and add type hint
This commit is contained in:
Thomas Müller 2016-03-07 14:59:49 +01:00
commit b3b57621b7
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;