Skip to content

Commit fb2a335

Browse files
committed
refactor(carbon): add return types
Signed-off-by: Teakowa Gatanothor O'deorain <hub+git@teakowa.dev>
1 parent 720d75e commit fb2a335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function generateCacheKeyName(array $arg, string $space = ':'): string
8888
* @return \Illuminate\Support\Carbon
8989
* @throws \Exception
9090
*/
91-
function carbon(...$args)
91+
function carbon(...$args): Carbon
9292
{
9393
return new Carbon(...$args);
9494
}

0 commit comments

Comments
 (0)