Merge pull request #22896 from owncloud/fix-v1-carddav-endpoint

Correctly default to null and add type hint
This commit is contained in:
Thomas Müller 2016-03-07 13:50:53 +01:00
commit bd4b61f52b
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;