Skip to content

Commit 77371cc

Browse files
committed
fix: satisfy linter
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent f0d54d6 commit 77371cc

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

system/Model.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
* @method $this orWhereDay(string $key, $value, ?bool $escape = null)
8888
* @method $this orWhereExists($subquery)
8989
* @method $this orWhereIn(?string $key = null, $values = null, ?bool $escape = null)
90+
* @method $this orWhereMonth(string $key, $value, ?bool $escape = null)
9091
* @method $this orWhereNotBetween(?string $key = null, array<array-key, mixed>|null $values = null, ?bool $escape = null)
9192
* @method $this orWhereNotExists($subquery)
9293
* @method $this orWhereNotIn(?string $key = null, $values = null, ?bool $escape = null)
@@ -106,7 +107,8 @@
106107
* @method $this whereDay(string $key, $value, ?bool $escape = null)
107108
* @method $this whereExists($subquery)
108109
* @method $this whereIn(?string $key = null, $values = null, ?bool $escape = null)
109-
* @method $this whereNotBetween(?string $key = null, $values = null, ?bool $escape = null)
110+
* @method $this whereMonth(string $key, $value, ?bool $escape = null)
111+
* @method $this whereNotBetween(?string $key = null, array<array-key, mixed>|null $values = null, ?bool $escape = null)
110112
* @method $this whereNotExists($subquery)
111113
* @method $this whereNotIn(?string $key = null, $values = null, ?bool $escape = null)
112114
* @method $this whereYear(string $key, $value, ?bool $escape = null)

user_guide_src/source/database/query_builder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ $builder->whereDate()
474474

475475
Generates a **WHERE** clause that compares only the date portion of a field:
476476

477-
.. literalinclude:: query_builder/130.php
477+
.. literalinclude:: query_builder/131.php
478478

479479
The ``whereYear()``, ``whereMonth()``, and ``whereDay()`` methods compare the
480480
corresponding date part. The ``orWhereDate()``, ``orWhereYear()``,

user_guide_src/source/database/query_builder/131.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
$builder->whereDay('created_at', 31);
77

88
// You can include a comparison operator at the end of the field name.
9-
$builder->whereDate('created_at >=', '2026-01-01');
9+
$builder->whereDate('created_at >=', '2026-01-01');

0 commit comments

Comments
 (0)