Correctly default to null and add type hint
This commit is contained in:
parent
0945cb7a0e
commit
9ec89b99b1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue