aboutsummaryrefslogtreecommitdiff
path: root/src/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllers')
-rw-r--r--src/controllers/BaseController.php2
-rw-r--r--src/controllers/BotController.php4
-rw-r--r--src/controllers/CompetitionController.php3
-rw-r--r--src/controllers/CompetitionTypeController.php3
-rw-r--r--src/controllers/GameController.php3
-rw-r--r--src/controllers/ParticipantController.php3
-rw-r--r--src/controllers/PasswordReminderController.php3
-rw-r--r--src/controllers/UserController.php3
-rw-r--r--src/controllers/UserTokenController.php3
9 files changed, 18 insertions, 9 deletions
diff --git a/src/controllers/BaseController.php b/src/controllers/BaseController.php
index 2cc52c5..35117e2 100644
--- a/src/controllers/BaseController.php
+++ b/src/controllers/BaseController.php
@@ -1,5 +1,5 @@
<?php
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
use \Dingo\Api\Routing\ControllerTrait;
diff --git a/src/controllers/BotController.php b/src/controllers/BotController.php
index 9349ea8..89aef8c 100644
--- a/src/controllers/BotController.php
+++ b/src/controllers/BotController.php
@@ -1,5 +1,7 @@
<?php
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
+
+use CamilStaps\BotleaguesApi\Database\Bot;
class BotController extends BaseController {
diff --git a/src/controllers/CompetitionController.php b/src/controllers/CompetitionController.php
index c169492..f54c11d 100644
--- a/src/controllers/CompetitionController.php
+++ b/src/controllers/CompetitionController.php
@@ -1,6 +1,7 @@
<?php
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
+use CamilStaps\BotleaguesApi\Database\Competition;
use Illuminate\Support\Facades\Input;
class CompetitionController extends BaseController {
diff --git a/src/controllers/CompetitionTypeController.php b/src/controllers/CompetitionTypeController.php
index a29d5db..993973c 100644
--- a/src/controllers/CompetitionTypeController.php
+++ b/src/controllers/CompetitionTypeController.php
@@ -1,6 +1,7 @@
<?php
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
+use CamilStaps\BotleaguesApi\Database\CompetitionType;
use Illuminate\Support\Facades\Input;
class CompetitionTypeController extends BaseController {
diff --git a/src/controllers/GameController.php b/src/controllers/GameController.php
index 15062c2..0fbcc1b 100644
--- a/src/controllers/GameController.php
+++ b/src/controllers/GameController.php
@@ -1,6 +1,7 @@
<?php
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
+use CamilStaps\BotleaguesApi\Database\Game;
use Illuminate\Support\Facades\Input;
class GameController extends BaseController {
diff --git a/src/controllers/ParticipantController.php b/src/controllers/ParticipantController.php
index a493146..11d7dd9 100644
--- a/src/controllers/ParticipantController.php
+++ b/src/controllers/ParticipantController.php
@@ -1,6 +1,7 @@
<?php
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
+use CamilStaps\BotleaguesApi\Database\Participant;
use Illuminate\Support\Facades\Input;
class ParticipantController extends BaseController {
diff --git a/src/controllers/PasswordReminderController.php b/src/controllers/PasswordReminderController.php
index 0c2a087..622e92c 100644
--- a/src/controllers/PasswordReminderController.php
+++ b/src/controllers/PasswordReminderController.php
@@ -6,8 +6,9 @@
* Time: 13:13
*/
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
+use CamilStaps\BotleaguesApi\Database\PasswordReminder;
use Illuminate\Support\Facades\Input;
class PasswordReminderController extends BaseController {
diff --git a/src/controllers/UserController.php b/src/controllers/UserController.php
index 90e43ce..a64ed71 100644
--- a/src/controllers/UserController.php
+++ b/src/controllers/UserController.php
@@ -1,6 +1,7 @@
<?php
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
+use CamilStaps\BotleaguesApi\Database\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Input;
diff --git a/src/controllers/UserTokenController.php b/src/controllers/UserTokenController.php
index 5a6099b..20bd06c 100644
--- a/src/controllers/UserTokenController.php
+++ b/src/controllers/UserTokenController.php
@@ -1,6 +1,7 @@
<?php
-namespace CamilStaps\BotleaguesApi;
+namespace CamilStaps\BotleaguesApi\Controllers;
+use CamilStaps\BotleaguesApi\Database\UserToken;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\Auth;