Browse Source

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>
pull/5258/head
Roland Häder 4 years ago
parent
commit
f2f12d6f50
No known key found for this signature in database GPG Key ID: B72F8185C6C7BD78
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      include/text.php

+ 1
- 0
include/text.php View File

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


Loading…
Cancel
Save