Skip to content

Commit

Permalink
Phalcon\Di\Di::get(): modified doc-block to improve IDE completion.
Browse files Browse the repository at this point in the history
  • Loading branch information
szymekjanaczek committed Dec 8, 2024
1 parent b249d28 commit 70b6119
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Di/Di.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ public function attempt(string $name, $definition, bool $shared = false): Servic
/**
* Resolves the service based on its configuration
*
* @param string $name
* @template T
* @param string|class-string<T> $name
* @param mixed $parameters
* @return mixed
* @return mixed|T
*/
public function get(string $name, $parameters = null): mixed
{
Expand Down

0 comments on commit 70b6119

Please sign in to comment.