Merge branch 'QA_4_6'

This commit is contained in:
Michal Čihař 2016-08-30 14:48:55 +02:00
commit 89fc40a1ce

View File

@ -51,7 +51,7 @@ class Linter
// (which is actually a new line) aren't going to be processed at
// all.
$len = ($str instanceof UtfString) ?
$str->length() : strlen($len);
$str->length() : strlen($str);
$lines = array(0);
for ($i = 0; $i < $len; ++$i) {