Skip to content

Commit f794453

Browse files
authored
Merge pull request #5 from zakhayko/master
Removed Test route, test controllers/repositories/jobs and fixed PhpDocs
2 parents 6b365e8 + 66c8d89 commit f794453

File tree

7 files changed

+4
-130
lines changed

7 files changed

+4
-130
lines changed

src/CoreServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class CoreServiceProvider extends ServiceProvider
2020
*/
2121
public function boot()
2222
{
23-
$this->loadRoutesFrom(__DIR__ . '/routes/web.php');
2423
$this->loadTranslationsFrom(__DIR__ . '/lang/errors.php', 'errors');
2524
$this->loadMigrationsFrom(__DIR__ . '/database/migrations/2019_10_03_101111_create_files_table.php');
2625
}

src/Http/Controllers/ApiController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
1212
use Illuminate\Foundation\Bus\DispatchesJobs;
1313
use Illuminate\Foundation\Validation\ValidatesRequests;
14-
use Illuminate\Http\Request as Request;
14+
use Illuminate\Http\Request;
1515
use Illuminate\Routing\Controller as BaseController;
1616
use Illuminate\Support\Facades\Auth;
1717
use Illuminate\Support\Str;
@@ -325,8 +325,8 @@ public function getUserByToken()
325325
/**
326326
* Method which can be used as substitute for the Custom POST/PUT routes other than the resource route
327327
* @param $job
328-
* @param null $request
329-
* @param null $additionalData
328+
* @param Request|null $request
329+
* @param array|null $additionalData
330330
* @return bool|\Illuminate\Http\JsonResponse
331331
*/
332332
public function handleCustomEndPoint($job, $request = null, $additionalData = null)
@@ -349,7 +349,7 @@ public function handleCustomEndPoint($job, $request = null, $additionalData = nu
349349
/**
350350
* Method which can be used as substitute for the Custom GET(index) route other than the resource route
351351
* @param $job
352-
* @param null $request
352+
* @param Request|null $request
353353
* @param array $additionalData
354354
* @return \Illuminate\Http\JsonResponse
355355
*/

src/Http/Controllers/TestController.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/Jobs/User/CreateJob.php

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/Repositories/User/User.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/Repositories/User/UserRepository.php

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/routes/web.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)