Skip to content

Commit

Permalink
Merge pull request #464 from cakephp/3.next-merge
Browse files Browse the repository at this point in the history
merge 3.x => 3.next
  • Loading branch information
LordSimal authored Sep 13, 2024
2 parents 786d69e + a4e7ea3 commit 050465e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
coverage: pcov

- name: Composer install
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: ${{ matrix.composer-options }}
Expand Down
6 changes: 3 additions & 3 deletions docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ Once you have 2 instances of Chronos date/time objects you can compare them in
a variety of ways::

// Full suite of comparators exist
// ne, gt, lt, lte.
$first->eq($second);
$first->gte($second);
// equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

// See if the current object is between two others.
$now->between($start, $end);
Expand Down
8 changes: 4 additions & 4 deletions docs/fr/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ Méthodes de Comparaison
Une fois que vous avez 2 instances d'objets date/time de Chronos, vous pouvez
les comparer de plusieurs façons::

// Il exste une suite complète de comparateurs
// ne, gt, lt, lte.
$first->eq($second);
$first->gte($second);
// Il existe une suite complète de comparateurs
// equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

// Regarder si l'objet courant est entre deux autres.
$now->between($start, $end);
Expand Down
6 changes: 3 additions & 3 deletions docs/ja/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ Chronos オブジェクトは細やかに値を変更できるメソッドを提
Chronos の日付/時間オブジェクトの2つのインスタンスを様々な方法で比較することができます。 ::

// 比較のフルセットが存在します
// ne, gt, lt, lte.
$first->eq($second);
$first->gte($second);
// equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

// カレントオブジェクトが2つのオブジェクトの間にあるかどうかを確認します。
$now->between($start, $end);
Expand Down
6 changes: 3 additions & 3 deletions docs/pt/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ Uma vez que você possui 2 instâncias de objetos data/hora do Chronos, é poss
compará-los de várias maneiras::

// Coleção completa de comparadores
// ne, gt, lt, lte.
$first->eq($second);
$first->gte($second);
// equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

// Veja se o objeto atual está entre outros
$now->between($start, $end);
Expand Down

0 comments on commit 050465e

Please sign in to comment.