mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
fix: notifications
This commit is contained in:
@@ -35,7 +35,8 @@ trait ShowsFriendlyMessages
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function friendlyError(string $message): void {
|
||||
public function friendlyError(string $message): void
|
||||
{
|
||||
$this->error(sprintf(' [x] %s', trim($message)));
|
||||
}
|
||||
|
||||
@@ -44,7 +45,8 @@ trait ShowsFriendlyMessages
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function friendlyInfo(string $message): void {
|
||||
public function friendlyInfo(string $message): void
|
||||
{
|
||||
$this->friendlyNeutral($message);
|
||||
}
|
||||
|
||||
@@ -53,7 +55,8 @@ trait ShowsFriendlyMessages
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function friendlyNeutral(string $message): void {
|
||||
public function friendlyNeutral(string $message): void
|
||||
{
|
||||
$this->line(sprintf(' [i] %s', trim($message)));
|
||||
}
|
||||
|
||||
@@ -62,7 +65,8 @@ trait ShowsFriendlyMessages
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function friendlyLine(string $message): void {
|
||||
public function friendlyLine(string $message): void
|
||||
{
|
||||
$this->line(sprintf(' %s', trim($message)));
|
||||
}
|
||||
|
||||
@@ -71,7 +75,8 @@ trait ShowsFriendlyMessages
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function friendlyPositive(string $message): void {
|
||||
public function friendlyPositive(string $message): void
|
||||
{
|
||||
$this->info(sprintf(' [✓] %s', trim($message)));
|
||||
}
|
||||
|
||||
@@ -80,7 +85,8 @@ trait ShowsFriendlyMessages
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function friendlyWarning(string $message): void {
|
||||
public function friendlyWarning(string $message): void
|
||||
{
|
||||
$this->warn(sprintf(' [!] %s', trim($message)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user