Don't try to strlen() an array
This is definitely an array now. Auditors: joshuaspence
This commit is contained in:
@@ -52,7 +52,7 @@ final class HarbormasterBuildUnitMessage
|
|||||||
}
|
}
|
||||||
|
|
||||||
$coverage = idx($dict, 'coverage');
|
$coverage = idx($dict, 'coverage');
|
||||||
if (strlen($coverage)) {
|
if ($coverage) {
|
||||||
$obj->setProperty('coverage', $coverage);
|
$obj->setProperty('coverage', $coverage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user