We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8b181d + fd1ac23 commit 65ecdf8Copy full SHA for 65ecdf8
src/Function/Time/LastDayOfMonth.php
@@ -16,8 +16,7 @@ class LastDayOfMonth implements Expression
16
17
public function __construct(
18
private readonly string|Expression $expression,
19
- ) {
20
- }
+ ) {}
21
22
public function getValue(Grammar $grammar)
23
{
tests/Function/Time/LastDayOfMonthTest.php
@@ -2,13 +2,9 @@
2
3
declare(strict_types=1);
4
5
-use Illuminate\Database\Query\Expression;
6
-use Illuminate\Database\Schema\Blueprint;
7
-use Illuminate\Support\Facades\DB;
8
use Tpetry\QueryExpressions\Function\Time\LastDayOfMonth;
9
use Tpetry\QueryExpressions\Value\Value;
10
11
-
12
it('can compute the last day of month of a column')
13
->expect(new LastDayOfMonth('date'))
14
->toBeExecutable(function (Blueprint $table) {
0 commit comments