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)
24
24
$ container ->setShared (
25
25
'logger ' ,
26
26
function () {
27
+ /** @var string $logName */
27
28
$ logName = envValue ('LOGGER_DEFAULT_FILENAME ' , 'api.log ' );
29
+ /** @var string $logPath */
28
30
$ logPath = envValue ('LOGGER_DEFAULT_PATH ' , 'storage/logs ' );
29
31
$ logFile = appPath ($ logPath ) . '/ ' . $ logName . '.log ' ;
30
32
$ 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
35
35
*/
36
36
protected function getTokenAudience (): string
37
37
{
38
- return envValue ('TOKEN_AUDIENCE ' , 'https://phalconphp.com ' );
38
+ /** @var string $audience */
39
+ $ audience = envValue ('TOKEN_AUDIENCE ' , 'https://phalconphp.com ' );
40
+
41
+ return $ audience ;
39
42
}
40
43
41
44
/**
You can’t perform that action at this time.
0 commit comments