diff --git a/src/Bootstrappers/BroadcastChannelPrefixBootstrapper.php b/src/Bootstrappers/BroadcastChannelPrefixBootstrapper.php index 901067e4..7cab59f8 100644 --- a/src/Bootstrappers/BroadcastChannelPrefixBootstrapper.php +++ b/src/Bootstrappers/BroadcastChannelPrefixBootstrapper.php @@ -50,7 +50,7 @@ class BroadcastChannelPrefixBootstrapper implements TenancyBootstrapper $broadcasterOverride($this->broadcastManager); - // Get the overriden broadcaster + // Get the overridden broadcaster $newBroadcaster = $this->broadcastManager->driver($broadcaster); // Register the original broadcaster's channels in the new broadcaster @@ -64,7 +64,7 @@ class BroadcastChannelPrefixBootstrapper implements TenancyBootstrapper { // Revert to the original broadcasters foreach ($this->originalBroadcasters as $name => $broadcaster) { - // Delete the cached (overriden) broadcaster + // Delete the cached (overridden) broadcaster $this->broadcastManager->purge($name); // Make manager return the original broadcaster instance diff --git a/src/Concerns/DealsWithRouteContexts.php b/src/Concerns/DealsWithRouteContexts.php index 0b647000..f9df834d 100644 --- a/src/Concerns/DealsWithRouteContexts.php +++ b/src/Concerns/DealsWithRouteContexts.php @@ -46,7 +46,7 @@ trait DealsWithRouteContexts * the context is determined by the `tenancy.default_route_mode` config. * * If the default route mode is tenant, all unflagged routes will be tenant by default, - * but they will still have to have an identification midddleware (route-level + * but they will still have to have an identification middleware (route-level * or global) to be accessible. Same applies for universal default route mode. */ public static function getRouteMode(Route $route): RouteMode diff --git a/src/Exceptions/RouteIsMissingTenantParameterException.php b/src/Exceptions/RouteIsMissingTenantParameterException.php index afe56ea7..9fa487b8 100644 --- a/src/Exceptions/RouteIsMissingTenantParameterException.php +++ b/src/Exceptions/RouteIsMissingTenantParameterException.php @@ -13,6 +13,6 @@ class RouteIsMissingTenantParameterException extends Exception { $parameter = PathTenantResolver::tenantParameterName(); - parent::__construct("The route's first argument is not the tenant id (configured paramter name: $parameter)."); + parent::__construct("The route's first argument is not the tenant id (configured parameter name: $parameter)."); } } diff --git a/src/TenancyServiceProvider.php b/src/TenancyServiceProvider.php index 30dd8be0..29caf7a7 100644 --- a/src/TenancyServiceProvider.php +++ b/src/TenancyServiceProvider.php @@ -37,7 +37,7 @@ class TenancyServiceProvider extends ServiceProvider return $tenancy; }); - // Make it possible to inject the current tenant by typehinting the Tenant contract. + // Make it possible to inject the current tenant by type hinting the Tenant contract. $this->app->bind(Tenant::class, function ($app) { return $app[Tenancy::class]->tenant; });