Skip to content

Commit

Permalink
improve doc types
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Nov 25, 2023
1 parent d154344 commit 1d00668
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Clients/Traits/CreateFinalizeTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
trait CreateFinalizeTrait
{
/**
* @param array[] $data
* @param mixed[] $data
* @param bool $finalized
* @return ResponseInterface
* @throws LexOfficeApiException
Expand Down
2 changes: 1 addition & 1 deletion src/Clients/Traits/CreateTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
trait CreateTrait
{
/**
* @param array[] $data
* @param mixed[] $data
* @return ResponseInterface
* @throws LexOfficeApiException
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Clients/Traits/UpdateTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ trait UpdateTrait
{
/**
* @param string $id
* @param array[] $data
* @param mixed[] $data
* @return ResponseInterface
* @throws LexOfficeApiException
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Utils
{
/**
* @param string $resource
* @param array{size?: int, metadata?: array, mode?: bool, seekable?: bool} $options
* @param array{size?: int, metadata?: mixed[], mode?: bool, seekable?: bool} $options
* @return Stream
*/
public static function streamFor(string $resource = '', array $options = []): Stream
Expand All @@ -32,7 +32,7 @@ public static function streamFor(string $resource = '', array $options = []): St
/**
* @param mixed $value
* @param int $options
* @param int $depth
* @param int<1, max> $depth
* @return string
*/
public static function jsonEncode($value, int $options = 0, int $depth = 512): string
Expand All @@ -49,7 +49,7 @@ public static function jsonEncode($value, int $options = 0, int $depth = 512): s
/**
* @param string $json
* @param bool $assoc
* @param int $depth
* @param int<1, max> $depth
* @param int $options
* @return mixed
*/
Expand Down

0 comments on commit 1d00668

Please sign in to comment.