Skip to content

Commit

Permalink
Fix service container docblock (#52000)
Browse files Browse the repository at this point in the history
  • Loading branch information
seriquynh authored Jul 3, 2024
1 parent 6a27368 commit 1a1a610
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Container/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ public function makeWith($abstract, array $parameters = [])
/**
* Resolve the given type from the container.
*
* @param string|callable $abstract
* @param string $abstract
* @param array $parameters
* @return mixed
*
Expand Down
5 changes: 5 additions & 0 deletions src/Illuminate/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,8 @@ public function registerDeferredProvider($provider, $service = null)
* @param string $abstract
* @param array $parameters
* @return mixed
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function make($abstract, array $parameters = [])
{
Expand All @@ -1033,6 +1035,9 @@ public function make($abstract, array $parameters = [])
* @param array $parameters
* @param bool $raiseEvents
* @return mixed
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
* @throws \Illuminate\Contracts\Container\CircularDependencyException
*/
protected function resolve($abstract, $parameters = [], $raiseEvents = true)
{
Expand Down

0 comments on commit 1a1a610

Please sign in to comment.