Completed
Push — master ( 58d84b...2fc5a7 )
by Pavel
02:34
created
app/src/Controller/CrudController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      * @param Response $response
112 112
      * @param array    $args
113 113
      *
114
-     * @return mixed
114
+     * @return \Psr\Http\Message\ResponseInterface
115 115
      * @throws JsonException
116 116
      */
117 117
     public function actionCreate(Request $request, Response $response, $args)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                         $query = $query->whereNotIn($filter['attribute'], $filter['value']);
46 46
                         break;
47 47
                     case 'like':
48
-                        $query = $query->where($filter['attribute'], 'like', '%'.$filter['value'] . '%');
48
+                        $query = $query->where($filter['attribute'], 'like', '%'.$filter['value'].'%');
49 49
                         break;
50 50
                     case '=':
51 51
                     case '!=':
Please login to merge, or discard this patch.
app/database/migrations/20170129140408_create_refresh_tokens_table.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,8 @@
 block discarded – undo
20 20
     /**
21 21
      * Undo the migration
22 22
      */
23
-    public function down() {
23
+    public function down()
24
+    {
24 25
         Capsule::schema()->drop('refresh_tokens');
25 26
     }
26 27
 }
Please login to merge, or discard this patch.
app/src/Providers/EncoderServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function register(Container $container)
16 16
     {
17
-        $config  = $container['settings'];
17
+        $config = $container['settings'];
18 18
 
19 19
         $container['encoder'] = function() use ($config) {
20 20
             $encoder = new JsonApiEncoder($config);
Please login to merge, or discard this patch.
app/src/Common/MailRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      * @param string $template
68 68
      * @param array $data
69 69
      */
70
-    protected function protectedIncludeScope ($template, array $data)
70
+    protected function protectedIncludeScope($template, array $data)
71 71
     {
72 72
         extract($data);
73 73
         include $template;
Please login to merge, or discard this patch.
app/src/Controller/BaseController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
         foreach ($observers as $observer => $models) {
102 102
             foreach ($models as $model) {
103
-                call_user_func($model. '::observe', $observer);
103
+                call_user_func($model.'::observe', $observer);
104 104
             }
105 105
         }
106 106
     }
Please login to merge, or discard this patch.
app/settings.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,15 +59,15 @@
 block discarded – undo
59 59
                  * ['callable', ['roles']]
60 60
                  */
61 61
                 'callables' => [
62
-                    ['App\Controller\CrudController',              ['user']],
63
-                    ['App\Controller\CrudController:actionIndex',  ['user']],
64
-                    ['App\Controller\CrudController:actionGet',    ['user']],
62
+                    ['App\Controller\CrudController', ['user']],
63
+                    ['App\Controller\CrudController:actionIndex', ['user']],
64
+                    ['App\Controller\CrudController:actionGet', ['user']],
65 65
                     ['App\Controller\CrudController:actionCreate', ['user']],
66 66
                     ['App\Controller\CrudController:actionUpdate', ['user']],
67 67
                     ['App\Controller\CrudController:actionDelete', ['user']],
68 68
 
69
-                    ['App\Controller\UserController:actionIndex',  ['user']],
70
-                    ['App\Controller\UserController:actionGet',    ['user']],
69
+                    ['App\Controller\UserController:actionIndex', ['user']],
70
+                    ['App\Controller\UserController:actionGet', ['user']],
71 71
                     ['App\Controller\UserController:actionCreate', ['admin']],
72 72
                     ['App\Controller\UserController:actionUpdate', ['admin']],
73 73
                     ['App\Controller\UserController:actionDelete', ['admin']],
Please login to merge, or discard this patch.