Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
localusercamp committed Sep 4, 2023
1 parent 1cdace4 commit 30517cf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Illuminate/Foundation/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ function action($name, $parameters = [], $absolute = true)
if (! function_exists('app')) {
/**
* Get the available container instance.
*
* @template TAbstract
*
* @param string|null $abstract
* @param string|class-string<TAbstract>|null $abstract
* @param array $parameters
* @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Foundation\Application|mixed
* @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Foundation\Application|TAbstract|mixed
*/
function app($abstract = null, array $parameters = [])

Check failure on line 116 in src/Illuminate/Foundation/helpers.php

View workflow job for this annotation

GitHub Actions / Source Code

Template type TAbstract of function app() is not referenced in a parameter.
{
Expand Down Expand Up @@ -752,10 +754,12 @@ function rescue(callable $callback, $rescue = null, $report = true)
if (! function_exists('resolve')) {
/**
* Resolve a service from the container.
*
* @template TAbstract
*
* @param string $name
* @param string|class-string<TAbstract> $name
* @param array $parameters
* @return mixed
* @return TAbstract|mixed
*/
function resolve($name, array $parameters = [])

Check failure on line 764 in src/Illuminate/Foundation/helpers.php

View workflow job for this annotation

GitHub Actions / Source Code

Template type TAbstract of function resolve() is not referenced in a parameter.
{
Expand Down

0 comments on commit 30517cf

Please sign in to comment.