diff --git a/src/Clients/Traits/CreateFinalizeTrait.php b/src/Clients/Traits/CreateFinalizeTrait.php index 3182684..05d7057 100644 --- a/src/Clients/Traits/CreateFinalizeTrait.php +++ b/src/Clients/Traits/CreateFinalizeTrait.php @@ -8,7 +8,7 @@ trait CreateFinalizeTrait { /** - * @param array[] $data + * @param mixed[] $data * @param bool $finalized * @return ResponseInterface * @throws LexOfficeApiException diff --git a/src/Clients/Traits/CreateTrait.php b/src/Clients/Traits/CreateTrait.php index 5a47e1c..db5d494 100644 --- a/src/Clients/Traits/CreateTrait.php +++ b/src/Clients/Traits/CreateTrait.php @@ -8,7 +8,7 @@ trait CreateTrait { /** - * @param array[] $data + * @param mixed[] $data * @return ResponseInterface * @throws LexOfficeApiException */ diff --git a/src/Clients/Traits/UpdateTrait.php b/src/Clients/Traits/UpdateTrait.php index f5eb889..44428d7 100644 --- a/src/Clients/Traits/UpdateTrait.php +++ b/src/Clients/Traits/UpdateTrait.php @@ -9,7 +9,7 @@ trait UpdateTrait { /** * @param string $id - * @param array[] $data + * @param mixed[] $data * @return ResponseInterface * @throws LexOfficeApiException */ diff --git a/src/Utils.php b/src/Utils.php index 398aa89..2c8587d 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -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 @@ -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 @@ -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 */