From da5ede0f9b61ae415c2d4e167a8854b04cfe5b07 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 7 Nov 2017 19:32:29 +0100 Subject: [PATCH] Fix string addition --- Utils/RnG/Text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/RnG/Text.php b/Utils/RnG/Text.php index d553557fd..cdafb1aaa 100644 --- a/Utils/RnG/Text.php +++ b/Utils/RnG/Text.php @@ -144,7 +144,7 @@ class Text }, $punctuation ) - ) + ['.' => 0, '!' => 0, '?' => '?']; + ) + ['.' => 0, '!' => 0, '?' => 0]; $this->sentences = $punctuation_count['.'] + $punctuation_count['!'] + $punctuation_count['?'];