From cd7788f2e9e8187c290dacbacbb38608d9a50a56 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 23 Nov 2021 20:41:12 +0000 Subject: [PATCH] Updated translators and merged styleci fixes --- .github/translators.txt | 1 + app/Entities/Models/Chapter.php | 1 + app/Theming/ThemeService.php | 1 - tests/Unit/FrameworkAssumptionTest.php | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/translators.txt b/.github/translators.txt index 57a8714f4..8d9601e72 100644 --- a/.github/translators.txt +++ b/.github/translators.txt @@ -199,3 +199,4 @@ M Nafis Al Mukhdi (mnafisalmukhdi1) :: Indonesian sulfo :: Danish Raukze :: German zygimantus :: Lithuanian +marinkaberg :: Russian diff --git a/app/Entities/Models/Chapter.php b/app/Entities/Models/Chapter.php index 8fc2d333d..08d6608a9 100644 --- a/app/Entities/Models/Chapter.php +++ b/app/Entities/Models/Chapter.php @@ -23,6 +23,7 @@ class Chapter extends BookChild /** * Get the pages that this chapter contains. + * * @return HasMany */ public function pages(string $dir = 'ASC'): HasMany diff --git a/app/Theming/ThemeService.php b/app/Theming/ThemeService.php index 57336ec5f..275dc9d8c 100644 --- a/app/Theming/ThemeService.php +++ b/app/Theming/ThemeService.php @@ -5,7 +5,6 @@ namespace BookStack\Theming; use BookStack\Auth\Access\SocialAuthService; use Illuminate\Console\Application; use Illuminate\Console\Application as Artisan; -use Illuminate\Contracts\Console\Kernel; use Symfony\Component\Console\Command\Command; class ThemeService diff --git a/tests/Unit/FrameworkAssumptionTest.php b/tests/Unit/FrameworkAssumptionTest.php index 8ad45612c..54d315de9 100644 --- a/tests/Unit/FrameworkAssumptionTest.php +++ b/tests/Unit/FrameworkAssumptionTest.php @@ -13,7 +13,6 @@ use Tests\TestCase; */ class FrameworkAssumptionTest extends TestCase { - public function test_scopes_error_if_not_existing() { $this->expectException(BadMethodCallException::class);