Completed
Push — master ( aada62...262f01 )
by Marcel
02:27
created
Response/UpdatedUsersResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,5 +8,5 @@
 block discarded – undo
8 8
     /**
9 9
      * @Serializer\Type("array<SchoolIT\IdpExchange\Response\UserUpdateInformation>")
10 10
      */
11
-    public $users = [ ];
11
+    public $users = [];
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
Response/UserUpdateInformation.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 /**
8 8
  * Represents information about when a given user has been updated.
9 9
  */
10
-class UserUpdateInformation
11
-{
10
+class UserUpdateInformation {
12 11
     /**
13 12
      * @Serializer\Type("string")
14 13
      */
Please login to merge, or discard this patch.
Response/UsersResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,5 +11,5 @@
 block discarded – undo
11 11
     /**
12 12
      * @Serializer\Type("array<SchoolIT\IdpExchange\Response\UserResponse>")
13 13
      */
14
-    public $users = [ ];
14
+    public $users = [];
15 15
 }
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
Response/ValuesAttribute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
     /**
10 10
      * @Serializer\Type("array<string>")
11 11
      */
12
-    public $values = [ ];
12
+    public $values = [];
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
Response/UserResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
     /**
20 20
      * @Serializer\Type("array<SchoolIT\IdpExchange\Response\AbstractAttribute>")
21 21
      */
22
-    public $attributes = [ ];
22
+    public $attributes = [];
23 23
 }
24 24
\ No newline at end of file
Please login to merge, or discard this patch.
Response/Builder/UsersResponseBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     /**
11 11
      * @var UserResponse[]
12 12
      */
13
-    private $users = [ ];
13
+    private $users = [];
14 14
 
15 15
     /**
16 16
      * @param UserResponse $userResponse
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     public function build(): UsersResponse {
28 28
         $response = new UsersResponse();
29 29
 
30
-        foreach($this->users as $userResponse) {
30
+        foreach ($this->users as $userResponse) {
31 31
             $response->users[] = clone $userResponse;
32 32
         }
33 33
 
Please login to merge, or discard this patch.
Response/Builder/UpdatedUsersResponseBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     /**
11 11
      * @var UserUpdateInformation[]
12 12
      */
13
-    private $users = [ ];
13
+    private $users = [];
14 14
 
15 15
     /**
16 16
      * @param string $username
Please login to merge, or discard this patch.
Response/Builder/UserResponseBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @var AbstractAttribute
19 19
      */
20
-    private $attributes = [ ];
20
+    private $attributes = [];
21 21
 
22 22
     /**
23 23
      * @param string $username
Please login to merge, or discard this patch.
Request/UsersRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,5 +16,5 @@
 block discarded – undo
16 16
      * @Assert\Count(min="1")
17 17
      * @var string[]
18 18
      */
19
-    public $usernames = [ ];
19
+    public $usernames = [];
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.