Skip to content

Conversation

@yenfryherrerafeliz
Copy link
Contributor

Issue #2998

Description of changes:

  • Add method annotation in interfaces so that methods are available and recognized when the variable is declare with its interface type. For example, S3Client and S3ClientInterface.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Add method annotation in interfaces so that methods are available and recognized when the variable is declare with its interface type. For example, S3Client and S3ClientInterface.
Copy link
Member

@stobrien89 stobrien89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one code question and a general question: can you show the result after running make build? Pretty sure S3ClientInterface is the only service client specific interface. Might want to skip AwsClientInterface- not sure how much value there will be in that.

'/^\* @method (\\\\Aws\\\\Result|\\\\GuzzleHttp\\\\Promise\\\\Promise) /'
);

return $interfaceUpdater->update() && $updater->update();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: can we just call $interfaceUpdater->update() here and fall through to the $updater->update() call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants