diff --git a/CHANGELOG.md b/CHANGELOG.md index 947ca4d..7498ff3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to `laravel-licenser` will be documented in this file. +### 3.5.6 +- Fixed console output errors + ### 3.5.5 - Fixed type error for the `choice` function diff --git a/src/Commands/LicenseUpdate.php b/src/Commands/LicenseUpdate.php index 811a4dc..f4cb6cb 100644 --- a/src/Commands/LicenseUpdate.php +++ b/src/Commands/LicenseUpdate.php @@ -40,12 +40,12 @@ public function handle() // Perform the update $license->set($this->getQuantity($license->maximum())); - $this->success("Done!"); + $this->info("Done!"); } protected function getQuantity($current = 0) { - return intval($this->ask("Please select a new maximum value for this license. The current maximum is {$current}.")); + return intval($this->ask("Please select a new maximum value for this license. (The current maximum is {$current})")); } protected function selectLicense($where = []) @@ -76,6 +76,8 @@ final protected function getSelection($column, $where = []) throw new \Exception("Could not find a {$column}", 1, $e); } + $this->info("Selected: {$selection}"); + return $selection; } } \ No newline at end of file