Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Handler/LogLevelStrategy/FixedStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ final class FixedStrategy implements LogLevelStrategyInterface
*/
public function __construct(
string $defaultLevel = LogLevel::DEBUG,
string $exceptionLevel = null,
string $statsLevel = null
?string $exceptionLevel = null,
?string $statsLevel = null
) {
$this->defaultLevel = $defaultLevel;
$this->exceptionLevel = $exceptionLevel ?? $defaultLevel;
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/MultiRecordArrayHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class MultiRecordArrayHandler extends AbstractHandler
* @param int $summarySize The size to use for the summary of a truncated body
*/
public function __construct(
LogLevelStrategyInterface $logLevelStrategy = null,
?LogLevelStrategyInterface $logLevelStrategy = null,
int $truncateSize = 3500,
int $summarySize = 200
) {
Expand Down