app/Http/Controllers/TenantController.php
/**
     * @param Tenant $tenant
     * @return array
     * @throws AuthorizationException
     */
@param Tenant $tenant
@return array
@throws AuthorizationException
@param Tenant $tenant @return array @throws AuthorizationException
public function destroy(Tenant $tenant)
    {
        $this->authorize('delete', $tenant);
        $tenant->delete();
        return ["message" => 'Tenant Deleted'];
    }
public function destroy ( Tenant $ tenant ) { $ this -> authorize ( 'delete' , $ tenant ) ; $ tenant -> delete ( ) ; return [ " message " => 'Tenant Deleted' ] ; }
@param Tenant $tenant
 @return array
 @throws AuthorizationException
@param Tenant $tenant @return array @throws AuthorizationException