For discussion: should we return DateTime or DateTimeImmutable?
まだ誰も着手していません。
評価
調査の方向性
Start with the getDateTime("date-from") API and review how the library currently represents returned DateTime values. Resolve whether DateTime or DateTimeImmutable is the intended contract, then document the decision and update the relevant behavior or tests if the project identifies them.
索引モデルが issue の本文から書いたものです。
説明
$dateFrom = $input->getDateTime("date-from");
What type of DateTime should this library return in this case? I like the simplicity of DateTime, and with it being a getter it probably doesn't matter about immutability of the object itself, but would it make more sense or would it potentially confuse someone if the returned object was DateTimeImmutable?
- 主要言語
- PHP
- スター
- 3
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
phpgt/Input のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
似ている issue
-
Update the one-click "GTM4WP" Delay JS exclusion so that it also works with a custom data layer nameオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
[Feature]: Remove Kanboard Discourse forum link from README.md and CONTRIBUTING.md, or moderate itオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
solana-foundation/pay-kit#341 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cline/cline#14560 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100