Skip to content

Commit 4705e01

Browse files
committed
Fix App facade docblock return types for get() and make()
The Container::get() and Container::make() methods return mixed, not void. This was causing PHPStan errors when using App::get() or App::make() since the result was typed as void. Regenerated using facade-documenter.
1 parent df1da4c commit 4705e01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/support/src/Facades/App.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
* @method static string getFallbackLocale()
4545
* @method static void setLocale(string $locale)
4646
* @method static string getNamespace()
47-
* @method static void make(string $name, array $parameters = [])
48-
* @method static void get(string $id)
47+
* @method static mixed make(string $name, array $parameters = [])
48+
* @method static mixed get(string $id)
4949
* @method static void set(string $name, mixed $entry)
5050
* @method static void unbind(string $name)
5151
* @method static void remove(string $name)

0 commit comments

Comments
 (0)