mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-04 03:38:42 +00:00
Fix string addition
This commit is contained in:
parent
dacf6a4771
commit
da5ede0f9b
|
|
@ -144,7 +144,7 @@ class Text
|
||||||
},
|
},
|
||||||
$punctuation
|
$punctuation
|
||||||
)
|
)
|
||||||
) + ['.' => 0, '!' => 0, '?' => '?'];
|
) + ['.' => 0, '!' => 0, '?' => 0];
|
||||||
|
|
||||||
$this->sentences = $punctuation_count['.'] + $punctuation_count['!'] + $punctuation_count['?'];
|
$this->sentences = $punctuation_count['.'] + $punctuation_count['!'] + $punctuation_count['?'];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user