@@ -8,5 +8,5 @@ |
||
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 |
@@ -7,8 +7,7 @@ |
||
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 | */ |
@@ -11,5 +11,5 @@ |
||
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 |
@@ -9,5 +9,5 @@ |
||
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 |
@@ -19,5 +19,5 @@ |
||
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 |
@@ -10,7 +10,7 @@ discard block |
||
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 |
||
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 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * @var UserUpdateInformation[] |
12 | 12 | */ |
13 | - private $users = [ ]; |
|
13 | + private $users = []; |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * @param string $username |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @var AbstractAttribute |
19 | 19 | */ |
20 | - private $attributes = [ ]; |
|
20 | + private $attributes = []; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @param string $username |
@@ -16,5 +16,5 @@ |
||
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 |