Skip to content

Commit 5f19ad9

Browse files
committed
Add null as a possible return
1 parent 9f93346 commit 5f19ad9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function command(string $command)
208208
*
209209
* @param class-string<ConfigTemplate>|string $name
210210
*
211-
* @return ConfigTemplate
211+
* @return ConfigTemplate|null
212212
* @phpstan-return ($name is class-string<ConfigTemplate> ? ConfigTemplate : object|null)
213213
*/
214214
function config(string $name, bool $getShared = true)

0 commit comments

Comments
 (0)