A free open source IT asset/license management system
Fixes PSR autoloading issue
snipe7a33e335d475
diff --git a/app/Http/Controllers/ViewAssetsController.php b/app/Http/Controllers/ViewAssetsController.phpindex 8e50de64c7..37bc95b590 100755--- a/app/Http/Controllers/ViewAssetsController.php+++ b/app/Http/Controllers/ViewAssetsController.php@@ -7,7 +7,7 @@ use App\Models\AssetModel;use App\Models\Company;use App\Models\Setting;use App\Models\User;-use App\Notifications\RequestAssetCancelationNotification;+use App\Notifications\RequestAssetCancelation;use App\Notifications\RequestAssetNotification;use Illuminate\Support\Facades\Auth;use Illuminate\Support\Facades\Input;@@ -116,7 +116,7 @@ class ViewAssetsController extends Controller$logaction->logaction('request_canceled');if (($settings->alert_email!='') && ($settings->alerts_enabled=='1') && (!config('app.lock_passwords'))) {- $settings->notify(new RequestAssetCancelationNotification($data));+ $settings->notify(new RequestAssetCancelation($data));}return redirect()->route('requestable-assets')->with('success')->with('success', trans('admin/hardware/message.requests.canceled'));@@ -178,7 +178,7 @@ class ViewAssetsController extends Controller$asset->decrement('requests_counter', 1);$logaction->logaction('request canceled');- $settings->notify(new RequestAssetCancelationNotification($data));+ $settings->notify(new RequestAssetCancelation($data));return redirect()->route('requestable-assets')->with('success')->with('success', trans('admin/hardware/message.requests.cancel-success'));}diff --git a/app/Http/Transformers/DepartmentsTranformer.php b/app/Http/Transformers/DepartmentsTransformer.phpsimilarity index 100%rename from app/Http/Transformers/DepartmentsTranformer.phprename to app/Http/Transformers/DepartmentsTransformer.phpdiff --git a/app/Notifications/RequestAssetCancelation.php b/app/Notifications/RequestAssetCancelation.phpindex 3902f9af3b..21c565c632 100644--- a/app/Notifications/RequestAssetCancelation.php+++ b/app/Notifications/RequestAssetCancelation.php@@ -7,7 +7,7 @@ use Illuminate\Notifications\Messages\MailMessage;use Illuminate\Notifications\Messages\SlackMessage;use Illuminate\Notifications\Notification;-class RequestAssetCancelationNotification extends Notification+class RequestAssetCancelation extends Notification{/*** @var