Skip to content

Commit

Permalink
refactor: fix phpdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Oct 18, 2024
1 parent 7ba7391 commit 51b07e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Logger/AbstractLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public function error($message, array $context = []): void
}

/**
* @TODO : remove this default in v3.0.0, for now it's here to prevent breaking changes
* @return array{notice?: string, warning?: string, error?: string, critical?: string, alert?: string, emergency?: string}
* @TODO: remove this default in v3.0.0, for now it's here to prevent breaking changes
* @return string[]
* @codeCoverageIgnore
*/
public function getLogFiles(): array
Expand Down
2 changes: 1 addition & 1 deletion src/Logger/Contract/PdkLoggerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function deprecated(string $subject, ?string $replacement = null, array $
/**
* Get all logs as an associative array with log levels as keys and log file paths as values.
*
* @return array{notice?: string, warning?: string, error?: string, critical?: string, alert?: string, emergency?: string}
* @return string[]
*/
public function getLogFiles(): array;
}
2 changes: 1 addition & 1 deletion tests/Bootstrap/MockLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function clear(): void
}

/**
* @inheritDoc
* @return string[]
*/
public function getLogFiles(): array
{
Expand Down

0 comments on commit 51b07e2

Please sign in to comment.