Merge pull request #10211 from nextcloud/bugfix/10203/correctly-init-empty-arrays
Correctly init empty arrays
This commit is contained in:
commit
1fd7ffec03
|
@ -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