aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-09-02 10:34:23 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-09-02 10:34:23 +0200
commit52f1f21738d6dfd910b1e05a793a28974ef43016 (patch)
tree7cc7cd714fc2209cb24fdb42e1c419d793dd6f8b
parentb693993ed769220d6855ec58e38f19a2fc6a02dd (diff)
downloadUstring-52f1f21738d6dfd910b1e05a793a28974ef43016.zip
Ustring-52f1f21738d6dfd910b1e05a793a28974ef43016.tar.gz
Ustring-52f1f21738d6dfd910b1e05a793a28974ef43016.tar.bz2
Remove useless calls.
-rw-r--r--String.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/String.php b/String.php
index 5f8e9d5..1f3e485 100644
--- a/String.php
+++ b/String.php
@@ -235,8 +235,6 @@ class String implements \ArrayAccess, \Countable, \IteratorAggregate {
*/
public function append ( $substring ) {
- $direction = $this->getDirection();
-
if(static::LTR === $this->getDirection())
$this->_string .= $substring;
else
@@ -256,8 +254,6 @@ class String implements \ArrayAccess, \Countable, \IteratorAggregate {
*/
public function prepend ( $substring ) {
- $direction = $this->getDirection();
-
if(static::LTR === $this->getDirection())
$this->_string = $substring . $this->_string;
else