From 808725fe93262c632a242f5ad40aaf942fdd60fe Mon Sep 17 00:00:00 2001 From: Ollie Read Date: Mon, 28 Oct 2024 15:19:30 +0000 Subject: [PATCH] chore: Doc comment updates --- src/Concerns/FindsIdentityInRouteParameter.php | 2 +- src/Exceptions/TenancyMissing.php | 2 ++ src/Overrides/CacheOverride.php | 3 --- src/Overrides/SessionOverride.php | 3 --- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Concerns/FindsIdentityInRouteParameter.php b/src/Concerns/FindsIdentityInRouteParameter.php index 5850e51..2817e43 100644 --- a/src/Concerns/FindsIdentityInRouteParameter.php +++ b/src/Concerns/FindsIdentityInRouteParameter.php @@ -155,7 +155,7 @@ public function getParameter(): string /** * Get the route parameter pattern mapping * - * This method returns an array mappings the route parameter name to its + * This method returns an array mapping the route parameter name to its * pattern, for use in route definitions. * * @template TenantClass of \Sprout\Contracts\Tenant diff --git a/src/Exceptions/TenancyMissing.php b/src/Exceptions/TenancyMissing.php index 6f6dabe..dfe5347 100644 --- a/src/Exceptions/TenancyMissing.php +++ b/src/Exceptions/TenancyMissing.php @@ -10,6 +10,8 @@ * expected/required. * * @package Core + * + * @codeCoverageIgnore */ final class TenancyMissing extends SproutException { diff --git a/src/Overrides/CacheOverride.php b/src/Overrides/CacheOverride.php index d4629dd..69bc48c 100644 --- a/src/Overrides/CacheOverride.php +++ b/src/Overrides/CacheOverride.php @@ -13,7 +13,6 @@ use Illuminate\Cache\NullStore; use Illuminate\Cache\RedisStore; use Illuminate\Contracts\Foundation\Application; -use RuntimeException; use Sprout\Contracts\BootableServiceOverride; use Sprout\Contracts\Tenancy; use Sprout\Contracts\Tenant; @@ -28,8 +27,6 @@ * cache service. * * @package Overrides - * - * @codeCoverageIgnore */ final class CacheOverride implements BootableServiceOverride { diff --git a/src/Overrides/SessionOverride.php b/src/Overrides/SessionOverride.php index e2620e1..4fe0c55 100644 --- a/src/Overrides/SessionOverride.php +++ b/src/Overrides/SessionOverride.php @@ -7,7 +7,6 @@ use Illuminate\Contracts\Foundation\Application; use Illuminate\Session\FileSessionHandler; use Illuminate\Session\SessionManager; -use RuntimeException; use Sprout\Concerns\OverridesCookieSettings; use Sprout\Contracts\BootableServiceOverride; use Sprout\Contracts\Tenancy; @@ -27,8 +26,6 @@ * session service. * * @package Overrides - * - * @codeCoverageIgnore */ final class SessionOverride implements BootableServiceOverride {