Skip to content
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

declare $response #74

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

declare $response #74

wants to merge 1 commit into from

Conversation

tacman
Copy link
Contributor

@tacman tacman commented Jul 22, 2024

Fixes #73

@@ -18,6 +18,9 @@ class Uploader
/** @var string */
protected $replaceEndpoint = 'https://up.flickr.com/services/replace/';

/** @var bool|string */
Copy link
Owner

Choose a reason for hiding this comment

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

I think it can also be null, given that it's not set in the constructor.

But actually, I'm not sure this is used anywhere is it? $this->response = $response; is set in sendFile() below, but then only $response is used after that. I think deleting line 119 would be fine. (or am I reading things wrongly?).

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.

$this->response = $response; deprecated dynamic property
2 participants