Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
StanBarrows committed Nov 14, 2024
1 parent c50ce7d commit 15b451b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"require-dev": {
"laravel/pint": "^1.14",
"nunomaduro/larastan": "^2.9",
"larastan/larastan": "^2.9",
"orchestra/testbench": "^9.0",
"pestphp/pest": "^2.34",
"phpstan/extension-installer": "^1.3",
Expand Down
1 change: 1 addition & 0 deletions src/DTO/Documents/DocumentIndex/IndexDetectDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public static function make(string $name, mixed $value)
is_int($value) => IndexNumericDTO::make($name, $value),
is_float($value) => IndexDecimalDTO::make($name, $value),
$value instanceof Carbon => IndexDateTimeDTO::make($name, $value),
$value instanceof \Carbon\Carbon => IndexDateTimeDTO::make($name, $value),
default => null,
};
}
Expand Down

0 comments on commit 15b451b

Please sign in to comment.