Merge pull request #10211 from nextcloud/bugfix/10203/correctly-init-empty-arrays

Correctly init empty arrays
This commit is contained in:
Morris Jobke 2018-07-12 12:23:45 +02:00 committed by GitHub
commit 1fd7ffec03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { class Manager implements \OCP\Calendar\Resource\IManager {
/** @var IBackend[] holds all registered resource backends */ /** @var IBackend[] holds all registered resource backends */
private $backends; private $backends = [];
/** /**
* Registers a resource backend * Registers a resource backend

View File

@ -28,7 +28,7 @@ use OCP\Calendar\Room\IBackend;
class Manager implements \OCP\Calendar\Room\IManager { class Manager implements \OCP\Calendar\Room\IManager {
/** @var IBackend[] holds all registered resource backends */ /** @var IBackend[] holds all registered resource backends */
private $backends; private $backends = [];
/** /**
* Registers a resource backend * Registers a resource backend