Minor improvements:

- added spaces and curly braces
- added more TODOs as there really more to be done
- removed redundant braces from "return" keyword (no function)
- merged 2 nested if() into one single

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-07-20 20:04:32 +02:00
parent 9cc0d5479b
commit f2f12d6f50
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78
1 changed files with 1 additions and 0 deletions

View File

@ -1970,6 +1970,7 @@ function is_a_date_arg($s) {
*/ */
function deindent($text, $chr = "[\t ]", $count = NULL) { function deindent($text, $chr = "[\t ]", $count = NULL) {
$lines = explode("\n", $text); $lines = explode("\n", $text);
if (is_null($count)) { if (is_null($count)) {
$m = []; $m = [];
$k = 0; $k = 0;