Completed
Push — master ( 730998...f24d78 )
by Mahmoud
03:24
created
app/Containers/Authorization/UI/API/Controllers/Controller.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use App\Containers\Authorization\UI\API\Requests\RevokeUserFromRoleRequest;
27 27
 use App\Containers\Authorization\UI\API\Transformers\PermissionTransformer;
28 28
 use App\Containers\Authorization\UI\API\Transformers\RoleTransformer;
29
-use App\Containers\User\Models\User;
30 29
 use App\Containers\User\UI\API\Transformers\UserTransformer;
31 30
 use App\Port\Controller\Abstracts\PortApiController;
32 31
 
Please login to merge, or discard this patch.
app/Port/Test/PHPUnit/Traits/TestingTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     }
225 225
 
226 226
     /**
227
-     * @param $keys
227
+     * @param string[] $keys
228 228
      * @param $response
229 229
      */
230 230
     public function assertResponseContainKeys($keys, $response)
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
      *
353 353
      * Example: you give it ('users/{id}/stores', 100) it returns 'users/100/stores'
354 354
      *
355
-     * @param      $endpoint
355
+     * @param      string $endpoint
356 356
      * @param      $id
357 357
      * @param bool $skipEncoding
358 358
      *
Please login to merge, or discard this patch.
app/Containers/Authorization/Data/Factories/RoleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 // User
4 4
 use App\Containers\Authorization\Models\Role;
5 5
 
6
-$factory->define(Role::class, function (Faker\Generator $faker) {
6
+$factory->define(Role::class, function(Faker\Generator $faker) {
7 7
 
8 8
     return [
9 9
         'name' => $faker->slug,
Please login to merge, or discard this patch.