-
-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix documentation for uploadFromFile #2284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good catch.
Please change the base branch to 2.2.x
, because as far as I understood @malarzm. 2.2.x is still the minimum supported branch despite not being the default branch.
There also a call of $repository->uploadFromFile()
on line 239 you've missed.
@SenseException I'm going to change the default branch now, forgot to do that yesterday :) @rrajkomar I tried to change the target branch for you but it produced additional commits. You'll need to rebase your work atop |
@malarzm. This should do it. |
Please also fix the other |
@SenseException I think I fixed them all this time. Coudn't find any other concerned reference of the method. |
@SenseException with @alcaeus' approval I'm marking this as good to go. Thanks @rrajkomar! |
Summary
Fixed argument order
Fixed example with Metadata object used instead of UpdloadOptions containing the metadata