Skip to content

Commit 0035ca3

Browse files
Correção do getCookieID
1 parent a78db14 commit 0035ca3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LaravelDeviceTracking.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ public function getRequestHash(): string
5353
/**
5454
* retrieve the device identifier from cookie
5555
*
56-
* @return string
57-
* */
58-
public function getCookieID(): string
56+
* @return string|null
57+
*/
58+
public function getCookieID(): ?string
5959
{
6060
return Str::limit(Request::cookie(config('laravel-device-tracking.device_cookie')), 255, '');
6161
}

0 commit comments

Comments
 (0)