Skip to content

Commit 84e40b4

Browse files
committed
docs: add @var for psalm errors
1 parent 87a997d commit 84e40b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/Config/Services.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ public static function image(?string $handler = null, ?Images $config = null, bo
331331
return static::getSharedInstance('image', $handler, $config);
332332
}
333333

334+
/** @var Images $config */
334335
$config ??= config('Images');
335336
$handler = $handler ?: $config->defaultHandler;
336337
$class = $config->handlers[$handler];
@@ -638,6 +639,7 @@ public static function session(?App $config = null, bool $getShared = true)
638639
return static::getSharedInstance('session', $config);
639640
}
640641

642+
/** @var App $config */
641643
$config ??= config('App');
642644
$logger = AppServices::logger();
643645

0 commit comments

Comments
 (0)