Fixing return type

This commit is contained in:
Dennis Eichhorn 2017-02-11 10:09:57 +01:00
parent 7850d60b6c
commit 31cd0238b0

View File

@ -380,12 +380,12 @@ class Text
*
* @param int $length Text length
*
* @return string
* @return array
*
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
private function generatePunctuation(int $length) : string
private function generatePunctuation(int $length) : array
{
$minSentences = 4;
$maxSentences = 20;