Completed
Push — master ( 4f3de5...9b9e7a )
by Pavel
05:51
created
app/src/Schema/RoleSchema.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -196,25 +196,25 @@
 block discarded – undo
196 196
  */
197 197
 
198 198
 /**
199
-     * @api {delete} /role/:id Удаление роли
200
-     * @apiName DeleteRole
201
-     * @apiGroup Role
202
-     *
203
-     * @apiDescription Метод для удаления роли.
204
-     *
205
-     * @apiPermission admin
206
-     *
207
-     * @apiParam {Number} id Id роли
208
-     *
209
-     * @apiHeader {String} Authorization Токен.
210
-     *
211
-     * @apiSuccessExample {json} Успешно (204)
212
-     *     HTTP/1.1 204 OK
213
-     *
214
-     * @apiUse UnauthorizedError
215
-     * @apiUse StandardErrors
216
-     * @apiUse NotFoundError
217
-     */
199
+ * @api {delete} /role/:id Удаление роли
200
+ * @apiName DeleteRole
201
+ * @apiGroup Role
202
+ *
203
+ * @apiDescription Метод для удаления роли.
204
+ *
205
+ * @apiPermission admin
206
+ *
207
+ * @apiParam {Number} id Id роли
208
+ *
209
+ * @apiHeader {String} Authorization Токен.
210
+ *
211
+ * @apiSuccessExample {json} Успешно (204)
212
+ *     HTTP/1.1 204 OK
213
+ *
214
+ * @apiUse UnauthorizedError
215
+ * @apiUse StandardErrors
216
+ * @apiUse NotFoundError
217
+ */
218 218
 final class RoleSchema extends BaseSchema
219 219
 {
220 220
     protected $resourceType = 'role';
Please login to merge, or discard this patch.
app/database/migrations/20160706231338_create_users_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@  discard block
 block discarded – undo
4 4
 class CreateUsersTable
5 5
 {
6 6
     /**
7
-    * Do the migration
8
-    */
7
+     * Do the migration
8
+     */
9 9
     public function up()
10 10
     {
11 11
         Capsule::schema()->create('users', function($table)
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-    * Undo the migration
30
-    */
29
+     * Undo the migration
30
+     */
31 31
     public function down()
32 32
     {
33 33
         Capsule::schema()->drop('users');
Please login to merge, or discard this patch.
app/database/migrations/20160706233448_create_logs_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@  discard block
 block discarded – undo
4 4
 class CreateLogsTable
5 5
 {
6 6
     /**
7
-    * Do the migration
8
-    */
7
+     * Do the migration
8
+     */
9 9
     public function up()
10 10
     {
11 11
         Capsule::schema()->create('logs', function($table)
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
     }
22 22
 
23 23
     /**
24
-    * Undo the migration
25
-    */
24
+     * Undo the migration
25
+     */
26 26
     public function down()
27 27
     {
28 28
         Capsule::schema()->drop('logs');
Please login to merge, or discard this patch.
app/database/migrations/20170128112159_create_access_tokens_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@  discard block
 block discarded – undo
3 3
 
4 4
 class CreateAccessTokensTable{
5 5
     /**
6
-    * Do the migration
7
-    */
6
+     * Do the migration
7
+     */
8 8
     public function up()
9 9
     {
10 10
         Capsule::schema()->create('access_tokens', function($table)
@@ -18,8 +18,8 @@  discard block
 block discarded – undo
18 18
     }
19 19
 
20 20
     /**
21
-    * Undo the migration
22
-    */
21
+     * Undo the migration
22
+     */
23 23
     public function down()
24 24
     {
25 25
         Capsule::schema()->drop('access_tokens');
Please login to merge, or discard this patch.
app/database/migrations/20161016143152_create_roles_to_right_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@  discard block
 block discarded – undo
4 4
 class CreateRolesToRightTable
5 5
 {
6 6
     /**
7
-    * Do the migration
8
-    */
7
+     * Do the migration
8
+     */
9 9
     public function up()
10 10
     {
11 11
         Capsule::schema()->create('roles_to_rights', function($table)
@@ -18,8 +18,8 @@  discard block
 block discarded – undo
18 18
     }
19 19
 
20 20
     /**
21
-    * Undo the migration
22
-    */
21
+     * Undo the migration
22
+     */
23 23
     public function down()
24 24
     {
25 25
         Capsule::schema()->drop('roles_to_rights');
Please login to merge, or discard this patch.
app/database/migrations/20160706232835_create_rights_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@  discard block
 block discarded – undo
4 4
 class CreateRightsTable
5 5
 {
6 6
     /**
7
-    * Do the migration
8
-    */
7
+     * Do the migration
8
+     */
9 9
     public function up()
10 10
     {
11 11
         Capsule::schema()->create('rights', function($table)
@@ -22,8 +22,8 @@  discard block
 block discarded – undo
22 22
     }
23 23
 
24 24
     /**
25
-    * Undo the migration
26
-    */
25
+     * Undo the migration
26
+     */
27 27
     public function down()
28 28
     {
29 29
         Capsule::schema()->drop('rights');
Please login to merge, or discard this patch.
app/database/migrations/20170129140408_create_refresh_tokens_table.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@  discard block
 block discarded – undo
3 3
 
4 4
 class CreateRefreshTokensTable{
5 5
     /**
6
-    * Do the migration
7
-    */
6
+     * Do the migration
7
+     */
8 8
     public function up()
9 9
     {
10 10
         Capsule::schema()->create('refresh_tokens', function($table)
@@ -18,8 +18,8 @@  discard block
 block discarded – undo
18 18
     }
19 19
 
20 20
     /**
21
-    * Undo the migration
22
-    */
21
+     * Undo the migration
22
+     */
23 23
     public function down()
24 24
     {
25 25
         Capsule::schema()->drop('refresh_tokens');
Please login to merge, or discard this patch.