-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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: Remove the ignore errors of HTTP
in phpstan.
#7803
Conversation
system/HTTP/DownloadResponse.php
Outdated
* | ||
* @return void | ||
*/ | ||
private function setContentTypeByMimeType() |
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.
* | |
* @return void | |
*/ | |
private function setContentTypeByMimeType() | |
*/ | |
private function setContentTypeByMimeType(): void |
see #7794 (comment)
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.
Ok! Done.
Please rebase to resolve conflicts. |
If you don't know how to use git, I recommend you try https://learngitbranching.js.org/ |
59bdb59
to
d8bd77f
Compare
@@ -59,6 +59,8 @@ public function __construct(string $path, string $originalName, ?string $mimeTyp | |||
* @param string $targetPath Path to which to move the uploaded file. | |||
* @param string $name the name to rename the file to. | |||
* | |||
* @return void |
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.
* @return void | |
* @return bool |
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.
Ok! Done.
Thank you! |
Description
See #7731
Checklist: