1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 10:54:04 +00:00

Fix typos

This commit is contained in:
Mark 2024-12-29 09:33:55 +01:00
parent 5010e798b3
commit ce30f3c189
No known key found for this signature in database
GPG key ID: 79CFF7869BD39873
4 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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).");
}
}

View file

@ -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;
});