summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-15 13:34:01 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-04-15 13:35:51 +0200
commit9e20993c4d8b00d3b8eb19a804f543f17335b47b (patch)
tree94b574a5f9fbb0e0917185c637c6e34b024fb266 /appinfo/routes.php
parentbe80ca5d0fc9bd77f4c7c8fd7c986d378b79cc13 (diff)
Php cs:fix
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index f88528b8..43315413 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
@@ -30,19 +31,17 @@ declare(strict_types=1);
namespace OCA\Social\AppInfo;
-
use OCA\Social\Service\CurlService;
-
return [
'routes' => [
['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'],
['name' => 'Config#local', 'url' => '/local/', 'verb' => 'GET'],
['name' => 'Config#remote', 'url' => '/test/{account}/', 'verb' => 'GET'],
[
- 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET',
+ 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET',
'requirements' => ['path' => '.+'],
- 'defaults' => ['path' => '']
+ 'defaults' => ['path' => '']
],
['name' => 'Navigation#documentGet', 'url' => '/document/get', 'verb' => 'GET'],
['name' => 'Navigation#documentGetPublic', 'url' => '/document/public', 'verb' => 'GET'],