From eae0cc17a483d641097c40cbc263fe606ec02714 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 19 Sep 2021 08:28:10 +0200 Subject: [PATCH] No need for break --- app/Exceptions/GracefulNotFoundHandler.php | 4 ---- app/Jobs/CreateAutoBudgetLimits.php | 1 - 2 files changed, 5 deletions(-) diff --git a/app/Exceptions/GracefulNotFoundHandler.php b/app/Exceptions/GracefulNotFoundHandler.php index cf8f061ca1..fe2b398947 100644 --- a/app/Exceptions/GracefulNotFoundHandler.php +++ b/app/Exceptions/GracefulNotFoundHandler.php @@ -81,23 +81,19 @@ class GracefulNotFoundHandler extends ExceptionHandler case 'attachments.view': // redirect to original attachment holder. return $this->handleAttachment($request, $e); - break; case 'bills.show': $request->session()->reflash(); return redirect(route('bills.index')); - break; case 'currencies.show': $request->session()->reflash(); return redirect(route('currencies.index')); - break; case 'budgets.show': case 'budgets.edit': $request->session()->reflash(); return redirect(route('budgets.index')); - break; case 'piggy-banks.show': $request->session()->reflash(); diff --git a/app/Jobs/CreateAutoBudgetLimits.php b/app/Jobs/CreateAutoBudgetLimits.php index b3cd43ef7e..d66fd58c08 100644 --- a/app/Jobs/CreateAutoBudgetLimits.php +++ b/app/Jobs/CreateAutoBudgetLimits.php @@ -178,7 +178,6 @@ class CreateAutoBudgetLimits implements ShouldQueue $value = $this->date->format($format); return in_array($value, ['01-01', '07-01'], true); - break; case 'yearly': $format = 'm-d'; $value = $this->date->format($format);