Skip to content

Commit e5c338b

Browse files
daniserSergey Danilchenko
andauthored
[12.x] Improved manager typehints (#57024)
Co-authored-by: Sergey Danilchenko <[email protected]>
1 parent 52d6a31 commit e5c338b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Illuminate/Session/SessionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public function getSessionConfig()
269269
/**
270270
* Get the default session driver name.
271271
*
272-
* @return string
272+
* @return string|null
273273
*/
274274
public function getDefaultDriver()
275275
{

src/Illuminate/Support/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct(Container $container)
5050
/**
5151
* Get the default driver name.
5252
*
53-
* @return string
53+
* @return string|null
5454
*/
5555
abstract public function getDefaultDriver();
5656

tests/Integration/Support/Fixtures/NullableManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class NullableManager extends Manager
99
/**
1010
* Get the default driver name.
1111
*
12-
* @return string
12+
* @return string|null
1313
*/
1414
public function getDefaultDriver()
1515
{

0 commit comments

Comments
 (0)