From eeefb17f2a0a229c5ecc9cd07d79056919eb66fe Mon Sep 17 00:00:00 2001 From: Mark <14284867+xHeaven@users.noreply.github.com> Date: Sun, 29 Dec 2024 09:31:45 +0100 Subject: [PATCH] Remove redundant type casts --- src/Commands/Migrate.php | 2 +- src/Commands/Rollback.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/Migrate.php b/src/Commands/Migrate.php index ab428546..5348b509 100644 --- a/src/Commands/Migrate.php +++ b/src/Commands/Migrate.php @@ -81,7 +81,7 @@ class Migrate extends MigrateCommand $tenant->run(function ($tenant) use (&$success) { event(new MigratingDatabase($tenant)); - $verbosity = (int) $this->output->getVerbosity(); + $verbosity = $this->output->getVerbosity(); if ($this->runningConcurrently) { // The output gets messy when multiple processes are writing to the same stdout diff --git a/src/Commands/Rollback.php b/src/Commands/Rollback.php index e7018a5a..106b207f 100644 --- a/src/Commands/Rollback.php +++ b/src/Commands/Rollback.php @@ -76,7 +76,7 @@ class Rollback extends RollbackCommand $tenant->run(function ($tenant) use (&$success) { event(new RollingBackDatabase($tenant)); - $verbosity = (int) $this->output->getVerbosity(); + $verbosity = $this->output->getVerbosity(); if ($this->runningConcurrently) { // The output gets messy when multiple processes are writing to the same stdout