whitespace, code comments
diff --git a/system/helpers/string_helper.php b/system/helpers/string_helper.php
index 4767f0b..60f6ed1 100644
--- a/system/helpers/string_helper.php
+++ b/system/helpers/string_helper.php
@@ -30,7 +30,7 @@
/**
* Trim Slashes
*
- * Removes any leading/traling slashes from a string:
+ * Removes any leading/trailing slashes from a string:
*
* /this/that/theother/
*
@@ -46,10 +46,10 @@
{
function trim_slashes($str)
{
- return trim($str, '/');
- }
+ return trim($str, '/');
+ }
}
-
+
// ------------------------------------------------------------------------
/**
@@ -120,6 +120,7 @@
}
// ------------------------------------------------------------------------
+
/**
* Reduce Double Slashes
*
@@ -143,7 +144,7 @@
return preg_replace("#(^|[^:])//+#", "\\1/", $str);
}
}
-
+
// ------------------------------------------------------------------------
/**
@@ -173,7 +174,7 @@
{
$str = trim($str, $character);
}
-
+
return $str;
}
}
@@ -238,6 +239,7 @@
}
}
}
+
// ------------------------------------------------------------------------
/**