Correctly init empty arrays

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-07-12 10:41:19 +02:00
parent e3126fa091
commit 50ee4e1397
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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