Skip to content

NOW MANAGED ON CODEBERG

Updated translators and merged styleci fixes

Dan Browncd7788f2e9e8
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<Page>
*/
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);