Skip to content

Commit 39253e8

Browse files
committed
Changes to allow composer to install; tests are breaking
1 parent 60867cf commit 39253e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/IlluminateRegistry.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getDefaultConnectionName(): string
9090
*
9191
* @param string $name The connection name (null for the default one).
9292
*/
93-
public function getConnection(string|null $name = null): mixed
93+
public function getConnection(string|null $name = null): object
9494
{
9595
$name = $name ?: $this->getDefaultConnectionName();
9696

@@ -156,7 +156,7 @@ public function getDefaultManagerName(): string
156156
*
157157
* @param string $name The object manager name (null for the default one).
158158
*/
159-
public function getManager(string|null $name = null): mixed
159+
public function getManager(string|null $name = null): ObjectManager
160160
{
161161
$name ??= $this->getDefaultManagerName();
162162

@@ -260,7 +260,7 @@ public function purgeManager(string|null $name = null): void
260260
*
261261
* @param string|null $name The object manager name (null for the default one).
262262
*/
263-
public function resetManager(string|null $name = null): mixed
263+
public function resetManager(string|null $name = null): ObjectManager
264264
{
265265
$this->closeManager($name);
266266

0 commit comments

Comments
 (0)