Update ApplicationContext and InteractiveTerm to handle null outputs gracefully

This commit is contained in:
crazywhalecc
2025-12-10 13:17:15 +08:00
parent 794d92c9d8
commit 2901d32ba7
2 changed files with 17 additions and 16 deletions

View File

@@ -83,7 +83,7 @@ class ApplicationContext
*
* @param class-string<T> $id Service identifier
*
* @return T
* @return null|T
*/
public static function get(string $id): mixed
{