mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 11:51:06 +03:30
feat: install phpstan and resolving reported errors in PHPStan
This commit is contained in:
+9
-9
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
@@ -10,11 +12,8 @@
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
*/
|
||||
//
|
||||
// app()->bind('messages', function() {
|
||||
// return new \App\Appended\Classes\Common\Response\MessageResponse;
|
||||
// });
|
||||
|
||||
#todo move passport routes to own file
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Laravel Passport Routes
|
||||
@@ -26,6 +25,7 @@
|
||||
| This will use "auth:api" guard instead of "auth"
|
||||
|
|
||||
*/
|
||||
|
||||
Route::get('oauth/authorize', '\Laravel\Passport\Http\Controllers\AuthorizationController@authorize')->middleware('auth:api');
|
||||
Route::delete('oauth/authorize', '\Laravel\Passport\Http\Controllers\DenyAuthorizationController@deny')->middleware('auth:api');
|
||||
Route::post('oauth/authorize', '\Laravel\Passport\Http\Controllers\ApproveAuthorizationController@approve')->middleware('auth:api');
|
||||
@@ -51,19 +51,19 @@ Route::delete('oauth/tokens/{token_id}', '\Laravel\Passport\Http\Controllers\Aut
|
||||
| Allows vue router to pick up all other URL's.
|
||||
|
|
||||
*/
|
||||
Route::get('/test',function(){
|
||||
Route::get('/test', function () {
|
||||
return view('home');
|
||||
|
||||
|
||||
});
|
||||
// Route::get('Show/Package/{Package}', 'PackageController@show');
|
||||
Route::get('/',function(){
|
||||
Route::get('/', function () {
|
||||
return view('showMaster');
|
||||
});
|
||||
Route::get('/Show/{any?}/{any2?}',function(){
|
||||
Route::get('/Show/{any?}/{any2?}', function () {
|
||||
return view('showMaster');
|
||||
});
|
||||
Route::get('Landingpage',function(){
|
||||
Route::get('Landingpage', function () {
|
||||
return view('Landingpage');
|
||||
});
|
||||
Route::get('ShowTestResult/{id}', 'TestResultController@showTestResult');
|
||||
@@ -74,6 +74,6 @@ Route::get('ShowCycle/{Cycle}', 'CycleController@showCycle');
|
||||
Route::post('/BarCode/{Code}/{Type?}', 'BarCodeController@generateBarcode');
|
||||
Route::post('Package/QRCode/{Package}', 'BarCodeController@generatePackageQRCode');
|
||||
|
||||
Route::any('{all}', function(){
|
||||
Route::any('{all}', function () {
|
||||
return view('welcome');
|
||||
})->where(['all' => '.*']);
|
||||
|
||||
Reference in New Issue
Block a user