diff --git a/docs/using-tasks-to-prepare-the-environment/creating-your-own-task.md b/docs/using-tasks-to-prepare-the-environment/creating-your-own-task.md index 292ed39..84471ce 100644 --- a/docs/using-tasks-to-prepare-the-environment/creating-your-own-task.md +++ b/docs/using-tasks-to-prepare-the-environment/creating-your-own-task.md @@ -8,7 +8,9 @@ A task is any class that implements `Spatie\Multitenancy\Tasks\SwitchTenantTask` ```php namespace Spatie\Multitenancy\Tasks; -use Spatie\Multitenancy\Contracts\IsTenant;interface SwitchTenantTask +use Spatie\Multitenancy\Contracts\IsTenant; + +interface SwitchTenantTask { public function makeCurrent(IsTenant $tenant): void;