From a953fdbd327127846368f8b2d97a3d6cb63e46ff Mon Sep 17 00:00:00 2001 From: Cleopatra Enjeck M Date: Wed, 13 Mar 2024 13:28:16 +0100 Subject: [PATCH] fix: lint Signed-off-by: Cleopatra Enjeck M --- appinfo/routes.php | 2 +- lib/Controller/ContextController.php | 2 +- lib/Db/Context.php | 2 +- lib/Db/ContextMapper.php | 2 +- lib/Db/ContextNodeRelation.php | 2 +- lib/Db/ContextNodeRelationMapper.php | 2 +- lib/Db/PageContentMapper.php | 2 +- lib/Middleware/PermissionMiddleware.php | 2 +- lib/Service/ContextService.php | 2 +- src/modules/navigation/sections/Navigation.vue | 2 +- src/pages/Context.vue | 1 + src/shared/components/ncContextResource/ResourceList.vue | 6 +++--- 12 files changed, 14 insertions(+), 13 deletions(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index 631e641fe..da22566e5 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -137,4 +137,4 @@ ['name' => 'Context#removeNode', 'url' => '/api/2/contexts/{contextId}/nodes/{nodeRelId}', 'verb' => 'DELETE'], ['name' => 'Context#updateContentOrder', 'url' => '/api/2/contexts/{contextId}/pages/{pageId}', 'verb' => 'PUT'], ] -]; \ No newline at end of file +]; diff --git a/lib/Controller/ContextController.php b/lib/Controller/ContextController.php index 29001de3e..bd71417a1 100644 --- a/lib/Controller/ContextController.php +++ b/lib/Controller/ContextController.php @@ -282,4 +282,4 @@ protected function contextsToArray(array $contexts): array { } return $result; } -} \ No newline at end of file +} diff --git a/lib/Db/Context.php b/lib/Db/Context.php index 9fdc97c34..8da45c6b3 100644 --- a/lib/Db/Context.php +++ b/lib/Db/Context.php @@ -60,4 +60,4 @@ public function jsonSerialize(): array { return $data; } -} \ No newline at end of file +} diff --git a/lib/Db/ContextMapper.php b/lib/Db/ContextMapper.php index 37ae0b4eb..702af3767 100644 --- a/lib/Db/ContextMapper.php +++ b/lib/Db/ContextMapper.php @@ -216,4 +216,4 @@ protected function applyOwnedOrSharedQuery(IQueryBuilder $qb, string $userId): v $qb->andWhere($whereExpression); } } -} \ No newline at end of file +} diff --git a/lib/Db/ContextNodeRelation.php b/lib/Db/ContextNodeRelation.php index 2945ba1b9..7981ffcd1 100644 --- a/lib/Db/ContextNodeRelation.php +++ b/lib/Db/ContextNodeRelation.php @@ -36,4 +36,4 @@ public function jsonSerialize(): array { 'permissions' => $this->getPermissions() ]; } -} \ No newline at end of file +} diff --git a/lib/Db/ContextNodeRelationMapper.php b/lib/Db/ContextNodeRelationMapper.php index 704114244..7709ca5de 100644 --- a/lib/Db/ContextNodeRelationMapper.php +++ b/lib/Db/ContextNodeRelationMapper.php @@ -32,4 +32,4 @@ public function findById(int $nodeRelId): ContextNodeRelation { $row = $this->findOneQuery($qb); return $this->mapRowToEntity($row); } -} \ No newline at end of file +} diff --git a/lib/Db/PageContentMapper.php b/lib/Db/PageContentMapper.php index e78008bad..dcd88fc01 100644 --- a/lib/Db/PageContentMapper.php +++ b/lib/Db/PageContentMapper.php @@ -57,4 +57,4 @@ public function findByNodeRelation(int $nodeRelId): array { return $this->findEntities($qb); } -} \ No newline at end of file +} diff --git a/lib/Middleware/PermissionMiddleware.php b/lib/Middleware/PermissionMiddleware.php index b32261e5d..49b239936 100644 --- a/lib/Middleware/PermissionMiddleware.php +++ b/lib/Middleware/PermissionMiddleware.php @@ -87,4 +87,4 @@ protected function assertCanManageContext(): void { } } } -} \ No newline at end of file +} diff --git a/lib/Service/ContextService.php b/lib/Service/ContextService.php index 8b065d24d..ee31cc7ad 100644 --- a/lib/Service/ContextService.php +++ b/lib/Service/ContextService.php @@ -423,4 +423,4 @@ protected function insertNodesFromArray(Context $context, array $nodes): void { } $context->setNodes($addedNodes); } -} \ No newline at end of file +} diff --git a/src/modules/navigation/sections/Navigation.vue b/src/modules/navigation/sections/Navigation.vue index 93a2fcadf..da5618c41 100644 --- a/src/modules/navigation/sections/Navigation.vue +++ b/src/modules/navigation/sections/Navigation.vue @@ -210,4 +210,4 @@ export default { margin-top: 3vh; } } - \ No newline at end of file + diff --git a/src/pages/Context.vue b/src/pages/Context.vue index 023ec094f..91ba25eed 100644 --- a/src/pages/Context.vue +++ b/src/pages/Context.vue @@ -183,6 +183,7 @@ export default { .content { margin: 50px 50px 0; } + .resource { margin: 40px 0; } diff --git a/src/shared/components/ncContextResource/ResourceList.vue b/src/shared/components/ncContextResource/ResourceList.vue index 81ce5e2f1..abef2ab41 100644 --- a/src/shared/components/ncContextResource/ResourceList.vue +++ b/src/shared/components/ncContextResource/ResourceList.vue @@ -70,9 +70,9 @@ export default {