Correctly init empty arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
e3126fa091
commit
50ee4e1397
|
@ -28,7 +28,7 @@ use OCP\Calendar\Resource\IBackend;
|
|||
class Manager implements \OCP\Calendar\Resource\IManager {
|
||||
|
||||
/** @var IBackend[] holds all registered resource backends */
|
||||
private $backends;
|
||||
private $backends = [];
|
||||
|
||||
/**
|
||||
* Registers a resource backend
|
||||
|
|
|
@ -28,7 +28,7 @@ use OCP\Calendar\Room\IBackend;
|
|||
class Manager implements \OCP\Calendar\Room\IManager {
|
||||
|
||||
/** @var IBackend[] holds all registered resource backends */
|
||||
private $backends;
|
||||
private $backends = [];
|
||||
|
||||
/**
|
||||
* Registers a resource backend
|
||||
|
|
Loading…
Reference in New Issue