diff --git a/CHANGELOG.md b/CHANGELOG.md index fbded10..45859be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.18.2] - 2020-03-06 +### Add +- Added function `removeDoubleSpace` to get rid of the spaces over one in `StringUtils` + ## [0.18.1] - 2020-02-21 ### Fixed - Fixed property `client` to protected in `RedisCache` diff --git a/lib/Util/StringUtils.php b/lib/Util/StringUtils.php index 31fb6c1..8ce0310 100644 --- a/lib/Util/StringUtils.php +++ b/lib/Util/StringUtils.php @@ -112,6 +112,7 @@ private static function normalizeSpace($str, $is_single_line = false) * 두개 이상의 띄어쓰기(0x20)를 한개로 치환합니다. * * @param string $str 정규화된 문자열 + * @return string * * @see StringUtils::normalizeString() */