Skip to content

Commit 10d8cef

Browse files
authored
[10.x] Set SessionGuard::$name as readonly (#43163)
* Set `SessionGuard::$name` as readonly Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent b587974 commit 10d8cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Auth/SessionGuard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class SessionGuard implements StatefulGuard, SupportsBasicAuth
3737
*
3838
* @var string
3939
*/
40-
protected $name;
40+
public readonly string $name;
4141

4242
/**
4343
* The user we last attempted to retrieve.

0 commit comments

Comments
 (0)