Completed
Push — master ( cc9f19...85e40f )
by Pavel
11s
created
app/database/seeds/20160706233231_create_roles_rights_users.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,8 @@
 block discarded – undo
2 2
 use App\Model\Role;
3 3
 use App\Model\User;
4 4
 
5
-class CreateRolesRightsUsers {
5
+class CreateRolesRightsUsers
6
+{
6 7
     public function run()
7 8
     {
8 9
         Role::create([
Please login to merge, or discard this patch.
app/src/Commands/SampleController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
     public function actionIndex()
14 14
     {
15
-        echo 'This is sample console command.' . PHP_EOL;
16
-        echo 'Actions: ' . PHP_EOL;
17
-        echo 'partisan sample index' . PHP_EOL;
15
+        echo 'This is sample console command.'.PHP_EOL;
16
+        echo 'Actions: '.PHP_EOL;
17
+        echo 'partisan sample index'.PHP_EOL;
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
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/src/Model/AccessToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
     /**
70 70
      * @param User $user
71
-     * @param $host
71
+     * @param string $host
72 72
      * @param array $settings
73 73
      *
74 74
      * @return string
Please login to merge, or discard this patch.
app.paths.conf.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // PATH aliases
4
-define('ROOT_PATH',       __DIR__ );
5
-define('MIGRATIONS_PATH', __DIR__ . '/app/database/migrations');
6
-define('SEEDS_PATH',      __DIR__ . '/app/database/seeds');
7
-define('COMMANDS_PATH',   __DIR__ . '/app/src/Commands');
8
-define('CONFIG_PATH',     __DIR__ . '/config');
9
-define('APP_PATH',        __DIR__ . '/app');
4
+define('ROOT_PATH', __DIR__);
5
+define('MIGRATIONS_PATH', __DIR__.'/app/database/migrations');
6
+define('SEEDS_PATH', __DIR__.'/app/database/seeds');
7
+define('COMMANDS_PATH', __DIR__.'/app/src/Commands');
8
+define('CONFIG_PATH', __DIR__.'/config');
9
+define('APP_PATH', __DIR__.'/app');
10 10
 
Please login to merge, or discard this patch.