Skip to content

Commit

Permalink
Merge branch 'hotfix/8-undefined-variable' into develop
Browse files Browse the repository at this point in the history
Conflicts:
	CHANGELOG.md
  • Loading branch information
weierophinney committed Apr 17, 2020
2 parents ca2e547 + 3edf435 commit 5573e90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ All notable changes to this project will be documented in this file, in reverse

- Nothing.

## 2.6.3 - TBD
## 2.6.3 - 2020-04-17

### Added

Expand All @@ -44,7 +44,7 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- Nothing.
- [#8](https://github.com/mezzio/mezzio-swoole/pull/8) removes an undefined variable from a method call iwthin `AccessLogDataMap::getResponseMessageSize()`, fixing a notice.

## 2.6.2 - 2020-04-06

Expand Down
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 5573e90

Please sign in to comment.