Skip to content

Commit

Permalink
Fix for "E_NOTICE: Undefined variable: message"
Browse files Browse the repository at this point in the history
  • Loading branch information
pauci committed Apr 17, 2020
1 parent 6afabef commit 27bc2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Log/AccessLogDataMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public function getResponseMessageSize($default = null) : ?int
}

$strlen = function_exists('mb_strlen') ? 'mb_strlen' : 'strlen';
$firstLineSize = $strlen($this->getResponseLine($message));
$firstLineSize = $strlen($this->getResponseLine());

$headerSize = $this->psrResponse
? $this->getPsrResponseHeaderSize()
Expand Down

0 comments on commit 27bc2c5

Please sign in to comment.