@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -102,13 +102,13 @@ discard block |
||
102 | 102 | } |
103 | 103 | |
104 | 104 | return [ |
105 | - 'created' => function ($role) use ($attributes) { |
|
105 | + 'created' => function($role) use ($attributes) { |
|
106 | 106 | return $attributes['created']->toDateTime()->format('c'); |
107 | 107 | }, |
108 | - 'changed' => function ($role) use ($attributes) { |
|
108 | + 'changed' => function($role) use ($attributes) { |
|
109 | 109 | return $attributes['changed']->toDateTime()->format('c'); |
110 | 110 | }, |
111 | - 'deleted' => function ($role) use ($attributes) { |
|
111 | + 'deleted' => function($role) use ($attributes) { |
|
112 | 112 | if (false === $attributes['deleted']) { |
113 | 113 | return null; |
114 | 114 | } |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | 'name' => (string) $attributes['username'], |
162 | 162 | 'namespace' => (string) $attributes['namespace'], |
163 | 163 | 'mail' => (string) $attributes['mail'], |
164 | - 'quota' => function ($role) use ($attributes, $user) { |
|
164 | + 'quota' => function($role) use ($attributes, $user) { |
|
165 | 165 | if ($attributes['_id'] == $user->getId() || $user->isAdmin()) { |
166 | 166 | return $role->getQuotaUsage(); |
167 | 167 | } |
@@ -50,7 +50,6 @@ |
||
50 | 50 | /** |
51 | 51 | * Constructor. |
52 | 52 | * |
53 | - * @param App $app |
|
54 | 53 | * @param Async $async |
55 | 54 | * @param LoggerInterface $logger |
56 | 55 | * @param GetOpt $getopt |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |