diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cf2154..74be768 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,14 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip - Nothing --> +## [1.1.1] - 2019-11-08 +### Fixed +- Fix passing empty string to doc block factory in buildDocBlock method + +## [1.1.0] - 2019-10-18 +### Removed +- Move TypedCollection to `spaceonfire/collection` + ## [1.0.1] - 2019-10-14 ### Fixed - Fix argument types separator in table for methods diff --git a/composer.json b/composer.json index b3b1fc1..e2626f3 100755 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "nikic/php-parser": "^4.0", "phpdocumentor/reflection": "^4.0.0-beta", "phpdocumentor/reflection-docblock": "^5.0.0-alpha5", - "spaceonfire/collection": "~1.1.1", + "spaceonfire/collection": "~1.2.0", "symfony/console": "^4.3.5", "symfony/filesystem": "^4.3.5", "symfony/finder": "^4.3.5" diff --git a/src/Elements/DocBlockResolver/BaseDocBlockResolver.php b/src/Elements/DocBlockResolver/BaseDocBlockResolver.php index 08f6552..2bce491 100755 --- a/src/Elements/DocBlockResolver/BaseDocBlockResolver.php +++ b/src/Elements/DocBlockResolver/BaseDocBlockResolver.php @@ -139,6 +139,6 @@ protected function buildDocBlock(string $text, array $tags = []): DocBlock $factory = DocBlockFactory::createInstance(); } - return $factory->create($docBlockString); + return $factory->create($docBlockString ?: ' '); } }