Helpers::dumpSql() quotes strings using connection + test

I would suggest refactoring this to avoid the very long line, e.g. 

~~~php
$length = Nette\Utils\Strings::length($param);
$truncated = Nette\Utils\Strings::truncate($param, Helpers::$maxLength);
$text = htmlspecialchars($connection ? $connection->quote($truncated) : '\'' . $truncated . '\'');
return '<span title="Length ' . $length . ' characters">' . $text . '</span>';
~~~