File tree 4 files changed +12
-5
lines changed
4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
this package and not the cluster API. See the changelog of the [ cluster API] ( https://cluster-api.cyberfusion.nl/redoc#section/Changelog )
7
7
for detailed information.
8
8
9
+ ## [ 1.87.0]
10
+
11
+ ### Changed
12
+
13
+ - The ` files ` attribute of the ` UnixUserUsage ` model is now nullable.
14
+
9
15
## [ 1.86.4]
10
16
11
17
### Fixed
Original file line number Diff line number Diff line change 2
2
3
3
Client for the [ Cyberfusion Cluster API] ( https://cluster-api.cyberfusion.nl/ ) .
4
4
5
- This client was built for and tested on the ** 1.164 ** version of the API.
5
+ This client was built for and tested on the ** 1.166 ** version of the API.
6
6
7
7
## Support
8
8
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Client implements ClientContract
20
20
{
21
21
private const CONNECT_TIMEOUT = 60 ;
22
22
private const TIMEOUT = 180 ;
23
- private const VERSION = '1.86.4 ' ;
23
+ private const VERSION = '1.87.0 ' ;
24
24
private const USER_AGENT = 'cyberfusion-cluster-api-client/ ' . self ::VERSION ;
25
25
26
26
private Configuration $ configuration ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class UnixUserUsage extends ClusterModel implements Model
10
10
{
11
11
private int $ unixUserId ;
12
12
private int $ usage ;
13
- private array $ files = [] ;
13
+ private ? array $ files = null ;
14
14
private string $ timestamp ;
15
15
16
16
public function getUnixUserId (): int
@@ -37,14 +37,15 @@ public function setUsage(int $usage): self
37
37
return $ this ;
38
38
}
39
39
40
- public function getFiles (): array
40
+ public function getFiles (): ? array
41
41
{
42
42
return $ this ->files ;
43
43
}
44
44
45
- public function setFiles (array $ files ): self
45
+ public function setFiles (? array $ files ): self
46
46
{
47
47
Validator::value ($ files )
48
+ ->nullable ()
48
49
->each ()
49
50
->path ()
50
51
->validate ();
You can’t perform that action at this time.
0 commit comments