-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
The parser seems to have issues with parsing DocBlocks containing declarations like this ...
* @param array{
* ACL?: null|BucketCannedACL::*,
* Bucket: string,
* CreateBucketConfiguration?: null|CreateBucketConfiguration|array,
* GrantFullControl?: null|string,
* GrantRead?: null|string,
* GrantReadACP?: null|string,
* GrantWrite?: null|string,
* GrantWriteACP?: null|string,
* ObjectLockEnabledForBucket?: null|bool,
* ObjectOwnership?: null|ObjectOwnership::*,
* '@region'?: string|null,
* }|CreateBucketRequest $input
see also https://github.com/async-aws/s3/blob/e6260647d5abe476e65c419acc4c3e392864f754/src/S3Client.php#L607.
With respect to the above example, this results in the issue message Argument '1' passed to createBucket() is expected to be of type void, array given (PHP0406) when calling createBucket although arg#1 expects array and not void (s. code).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels