File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ public function register(DiInterface $container)
2424 $ container ->setShared (
2525 'logger ' ,
2626 function () {
27+ /** @var string $logName */
2728 $ logName = envValue ('LOGGER_DEFAULT_FILENAME ' , 'api.log ' );
29+ /** @var string $logPath */
2830 $ logPath = envValue ('LOGGER_DEFAULT_PATH ' , 'storage/logs ' );
2931 $ logFile = appPath ($ logPath ) . '/ ' . $ logName . '.log ' ;
3032 $ formatter = new LineFormatter ("[%datetime%][%level_name%] %message% \n" );
Original file line number Diff line number Diff line change @@ -35,7 +35,10 @@ protected function getToken(string $token): Token
3535 */
3636 protected function getTokenAudience (): string
3737 {
38- return envValue ('TOKEN_AUDIENCE ' , 'https://phalconphp.com ' );
38+ /** @var string $audience */
39+ $ audience = envValue ('TOKEN_AUDIENCE ' , 'https://phalconphp.com ' );
40+
41+ return $ audience ;
3942 }
4043
4144 /**
You can’t perform that action at this time.
0 commit comments