Completed
Pull Request — master (#19)
by Pavel
02:03
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/Controller/CrudController.php 1 patch
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.
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/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/src/Common/Helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      * @param string $symbol
55 55
      * @param bool   $capitalizeFirstChar
56 56
      *
57
-     * @return mixed|string
57
+     * @return string
58 58
      */
59 59
     private static function replace($string, $symbol, $capitalizeFirstChar = false)
60 60
     {
Please login to merge, or discard this patch.