mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:54:04 +00:00
Fix typos
This commit is contained in:
parent
5010e798b3
commit
ce30f3c189
4 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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).");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue