Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 07a755e

Browse files
committed
Refactor: updated the descriptions and response messages
1 parent 5d1f7ca commit 07a755e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Commands/Migrate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
8686
}
8787

8888
foreach($succesful as $succesfulMigration) {
89-
$output->writeln("<info>" . substr($succesfulMigration, 0, -4).' was successful.</info>');
89+
$output->writeln('<info>"' . substr($succesfulMigration, 0, -4).'" was successful.</info>');
9090
}
9191

9292
return;
@@ -102,7 +102,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
102102
if ($className != 'Migrations') {
103103
$migrationResponse = $this->migrateAll($name.'.php', $className, $action);
104104
if ($migrationResponse != 0 || $migrationResponse != 'Couldn\'t migrate. See log for more information') {
105-
return $output->writeln("<info>" . $name.' was successful.</info>');
105+
return $output->writeln('<info>"' . $name.'" was successful.</info>');
106106
}
107107
else {
108108
return $output->writeln('Nothing to migrate');

Commands/Schedule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
4343
{
4444
$scheduler = new Runner();
4545
$schedule = new Scheduler();
46-
$schedule->schedule($scheduler);
46+
$schedule->run($scheduler);
4747
$scheduler->run();
4848
}
4949
}

0 commit comments

Comments
 (0)