Correctly default to null and add type hint
This commit is contained in:
parent
c07b731689
commit
c99ae62c33
|
@ -78,7 +78,7 @@ class CardDavBackend implements BackendInterface, SyncSupport {
|
||||||
*/
|
*/
|
||||||
public function __construct(IDBConnection $db,
|
public function __construct(IDBConnection $db,
|
||||||
Principal $principalBackend,
|
Principal $principalBackend,
|
||||||
$dispatcher ) {
|
EventDispatcherInterface $dispatcher = null) {
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->principalBackend = $principalBackend;
|
$this->principalBackend = $principalBackend;
|
||||||
$this->dispatcher = $dispatcher;
|
$this->dispatcher = $dispatcher;
|
||||||
|
|
Loading…
Reference in New Issue