Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-26 15:29:27 +0300
committerJoas Schilling <coding@schilljs.com>2018-07-27 11:16:44 +0300
commitbf9d50fb03fd6c9c5413038b8f3248043f18c6de (patch)
tree7ce326a82feddc8b8adf593f814a3f31f9fa6b04 /lib/Capabilities.php
parenta87de565afbd5ee73dffaad26c594dc4d4e928a8 (diff)
More php7
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Capabilities.php')
-rw-r--r--lib/Capabilities.php13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/Capabilities.php b/lib/Capabilities.php
index 10e33a10e..dff42d79b 100644
--- a/lib/Capabilities.php
+++ b/lib/Capabilities.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2018, Joas Schilling <coding@schilljs.com>
*
@@ -25,19 +26,9 @@ namespace OCA\Spreed;
use OCP\Capabilities\IPublicCapability;
-/**
- * Class Capabilities
- *
- * @package OCA\Notifications
- */
class Capabilities implements IPublicCapability {
- /**
- * Return this classes capabilities
- *
- * @return array
- */
- public function getCapabilities() {
+ public function getCapabilities(): array {
return [
'spreed' => [
'features' => [