Merge 4f7f97341cf10dcea1eb3654ab3fa0d8f5bcbe7c into 799ad93d236d90f70d67b85b503a9f488eee15d8

This commit is contained in:
Derek Stephen McLean 2018-05-09 20:57:10 +00:00 committed by GitHub
commit 463fbb1236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,9 @@ class CellHelper
*/
public static function isNonEmptyString($value)
{
if (is_object($value) && method_exists($value, '__toString')) {
$value = $value->__toString();
}
return (gettype($value) === 'string' && $value !== '');
}