From d634db87d432c87a092f1c4cee69a56914cbaa97 Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Thu, 19 Mar 2009 22:07:39 +0000 Subject: replace array_push() function calls with native language constuct if make sense --- framework/Collections/TStack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Collections/TStack.php') diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php index 0d3890b4..3c8d5fc6 100644 --- a/framework/Collections/TStack.php +++ b/framework/Collections/TStack.php @@ -140,7 +140,7 @@ class TStack extends TComponent implements IteratorAggregate,Countable public function push($item) { ++$this->_c; - array_push($this->_d,$item); + $this->_d[] = $item; } /** -- cgit v1.2.3