Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explanation of changes: 1. Extracted the runtime options array into a separate variable for better readability. 2. Used the runtime options array when accessing the context values, making it easier to change the options in the future. 3. Introduced a null check when accessing the environment variable to avoid warnings if it's not present in the context. 4. Used the null coalescing operator (??) to provide a default value of null for the environment variable if it's not present in the context. 5. Simplified the debug variable assignment using the ternary operator and explicit type casting to bool. 6. Added a use statement to import the $runtimeOptions variable into the anonymous function, allowing access to the options within the function.
- Loading branch information