@@ -51,10 +51,10 @@ public function __construct(CacheInterface $cache = null)
5151 *
5252 * @param T $id Identifier of the entry to look for.
5353 *
54- * @return T
5554 * @throws NotFoundExceptionInterface No entry was found for **this** identifier.
56- *
5755 * @throws ContainerExceptionInterface Error while retrieving the entry.
56+ *
57+ * @return T
5858 */
5959 public function get (string $ id ): mixed
6060 {
@@ -109,17 +109,16 @@ public function has(string $id): bool
109109 * @param ReflectionMethod|ReflectionFunction $reflectionMethod
110110 * @param array $arguments
111111 *
112- * @return array
113112 * @throws NotFoundExceptionInterface
114113 * @throws ReflectionException
115- *
116114 * @throws ContainerExceptionInterface
115+ *
116+ * @return array
117117 */
118118 private function createArguments (
119119 ReflectionMethod |ReflectionFunction $ reflectionMethod ,
120120 array $ arguments = []
121- ): array
122- {
121+ ): array {
123122 foreach ($ reflectionMethod ->getParameters () as $ reflectionParameter ) {
124123 $ argumentName = $ reflectionParameter ->getName ();
125124
@@ -168,11 +167,11 @@ public function __destruct()
168167 * @param callable $function
169168 * @param array $arguments
170169 *
171- * @return mixed
172170 * @throws NotFoundExceptionInterface
173171 * @throws ReflectionException
174- *
175172 * @throws ContainerExceptionInterface
173+ *
174+ * @return mixed
176175 */
177176 public function invoke (callable $ function , array $ arguments = []): mixed
178177 {
@@ -187,9 +186,9 @@ public function invoke(callable $function, array $arguments = []): mixed
187186 * @param string $namespace
188187 * @param bool $enforce
189188 *
190- * @return void
191189 * @throws ReflectionException
192190 *
191+ * @return void
193192 */
194193 public function loadDefinitionsFromDirectory (string $ directory , string $ namespace , bool $ enforce = false ): void
195194 {
0 commit comments