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

Imagick::getResourceLimit、setResourceLimitの説明を修正 #129

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

muno92
Copy link
Contributor

@muno92 muno92 commented Sep 29, 2024

php/doc-en#2037 の変更を取り込んでImagick::getResourceLimitの説明を調整しました。

また、その確認をしていて対になるsetResourceLimitの説明に英語版と差異があることを見つけたので修正しています。

Screenshot_2024-09-29_201207@2x
https://www.php.net/manual/en/imagick.setresourcelimit.php

Screenshot_2024-09-29_201229@2x
https://www.php.net/manual/ja/imagick.setresourcelimit.php

setResourceLimitはtypeに応じてlimitの単位が変わってくるので、単位についての記載はlimit側にのみあるのが適切ではないかと考えました。

(setResourceLimitの引数limitの説明を英語版に揃えて「異なります」から「依存します」にした方が良いのだろうか、と思いましたがそこまで調整すると話が広がる気がしたのでtypeの説明から単位についての記載を取り除くのみにしています。)

Copy link
Contributor

@youkidearitai youkidearitai left a comment

Choose a reason for hiding this comment

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

LGTM!

@muno92 さん、コミットが2つになっているので1つにsquashしていただけますか?

@muno92
Copy link
Contributor Author

muno92 commented Sep 29, 2024

@youkidearitai
確認ありがとうございます!squashしました!

@youkidearitai youkidearitai merged commit 51b0ee1 into php:master Sep 29, 2024
1 check passed
@youkidearitai
Copy link
Contributor

@muno92 ありがとうございました!

@muno92 muno92 deleted the patch-1 branch September 29, 2024 13:24
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