@@ -97,7 +97,7 @@ |
||
| 97 | 97 | * @param Response $response |
| 98 | 98 | * @param array $args |
| 99 | 99 | * |
| 100 | - * @return mixed |
|
| 100 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 101 | 101 | * @throws JsonException |
| 102 | 102 | */ |
| 103 | 103 | public function auth(Request $request, Response $response, $args) |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * @param Response $response |
| 20 | 20 | * @param array $args |
| 21 | 21 | * |
| 22 | - * @return mixed |
|
| 22 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 23 | 23 | * @throws JsonException |
| 24 | 24 | */ |
| 25 | 25 | public function actionCreate(Request $request, Response $response, $args) |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * @param Response $response |
| 49 | 49 | * @param array $args |
| 50 | 50 | * |
| 51 | - * @return mixed |
|
| 51 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 52 | 52 | * @throws JsonException |
| 53 | 53 | */ |
| 54 | 54 | public function actionUpdate(Request $request, Response $response, $args) |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | * @param Response $response |
| 81 | 81 | * @param array $args |
| 82 | 82 | * |
| 83 | - * @return mixed |
|
| 83 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 84 | 84 | * @throws JsonException |
| 85 | 85 | */ |
| 86 | 86 | public function actionRequestResetPassword(Request $request, Response $response, $args) |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * @param Response $response |
| 127 | 127 | * @param array $args |
| 128 | 128 | * |
| 129 | - * @return mixed |
|
| 129 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 130 | 130 | * @throws JsonException |
| 131 | 131 | */ |
| 132 | 132 | public function actionResetPassword(Request $request, Response $response, $args) |
@@ -3,8 +3,8 @@ discard block |
||
| 3 | 3 | |
| 4 | 4 | class CreateRolesToRightTable{ |
| 5 | 5 | /** |
| 6 | - * Do the migration |
|
| 7 | - */ |
|
| 6 | + * Do the migration |
|
| 7 | + */ |
|
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | 10 | Capsule::schema()->create('roles_to_rights', function($table) |
@@ -17,8 +17,8 @@ discard block |
||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - * Undo the migration |
|
| 21 | - */ |
|
| 20 | + * Undo the migration |
|
| 21 | + */ |
|
| 22 | 22 | public function down() |
| 23 | 23 | { |
| 24 | 24 | Capsule::schema()->drop('roles_to_rights'); |
@@ -3,8 +3,8 @@ discard block |
||
| 3 | 3 | |
| 4 | 4 | class CreateRolesToRightTable{ |
| 5 | 5 | /** |
| 6 | - * Do the migration |
|
| 7 | - */ |
|
| 6 | + * Do the migration |
|
| 7 | + */ |
|
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | 10 | Capsule::schema()->create('roles_to_rights', function($table) |
@@ -17,8 +17,8 @@ discard block |
||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - * Undo the migration |
|
| 21 | - */ |
|
| 20 | + * Undo the migration |
|
| 21 | + */ |
|
| 22 | 22 | public function down() |
| 23 | 23 | { |
| 24 | 24 | Capsule::schema()->drop('roles_to_rights'); |
@@ -3,8 +3,8 @@ discard block |
||
| 3 | 3 | |
| 4 | 4 | class CreateRolesToRightTable{ |
| 5 | 5 | /** |
| 6 | - * Do the migration |
|
| 7 | - */ |
|
| 6 | + * Do the migration |
|
| 7 | + */ |
|
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | 10 | Capsule::schema()->create('roles_to_rights', function($table) |
@@ -17,8 +17,8 @@ discard block |
||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - * Undo the migration |
|
| 21 | - */ |
|
| 20 | + * Undo the migration |
|
| 21 | + */ |
|
| 22 | 22 | public function down() |
| 23 | 23 | { |
| 24 | 24 | Capsule::schema()->drop('roles_to_rights'); |
@@ -3,8 +3,8 @@ discard block |
||
| 3 | 3 | |
| 4 | 4 | class CreateRolesToRightTable{ |
| 5 | 5 | /** |
| 6 | - * Do the migration |
|
| 7 | - */ |
|
| 6 | + * Do the migration |
|
| 7 | + */ |
|
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | 10 | Capsule::schema()->create('roles_to_rights', function($table) |
@@ -17,8 +17,8 @@ discard block |
||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - * Undo the migration |
|
| 21 | - */ |
|
| 20 | + * Undo the migration |
|
| 21 | + */ |
|
| 22 | 22 | public function down() |
| 23 | 23 | { |
| 24 | 24 | Capsule::schema()->drop('roles_to_rights'); |