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

Fix: Remove the ignore errors of HTTP in phpstan. #7803

Merged
merged 3 commits into from
Aug 12, 2023

Conversation

ya861220
Copy link
Contributor

@ya861220 ya861220 commented Aug 9, 2023

Description
See #7731

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Comment on lines 135 to 132
*
* @return void
*/
private function setContentTypeByMimeType()
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
*
* @return void
*/
private function setContentTypeByMimeType()
*/
private function setContentTypeByMimeType(): void

see #7794 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok! Done.

@kenjis kenjis added the stale Pull requests with conflicts label Aug 10, 2023
@kenjis
Copy link
Member

kenjis commented Aug 10, 2023

@kenjis
Copy link
Member

kenjis commented Aug 11, 2023

If you don't know how to use git, I recommend you try https://learngitbranching.js.org/

@ya861220 ya861220 closed this Aug 11, 2023
@ya861220 ya861220 force-pushed the 230809-phpstan-HTTP branch from 59bdb59 to d8bd77f Compare August 11, 2023 16:17
@ya861220 ya861220 reopened this Aug 11, 2023
@ddevsr ddevsr removed the stale Pull requests with conflicts label Aug 12, 2023
@@ -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
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* @return void
* @return bool

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok! Done.

@MGatner
Copy link
Member

MGatner commented Aug 12, 2023

Thank you!

@MGatner MGatner merged commit 0989491 into codeigniter4:develop Aug 12, 2023
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.

5 participants