diff options
author | godzilla80@gmx.net <> | 2009-03-19 22:07:39 +0000 |
---|---|---|
committer | godzilla80@gmx.net <> | 2009-03-19 22:07:39 +0000 |
commit | d634db87d432c87a092f1c4cee69a56914cbaa97 (patch) | |
tree | 2a681041b70b22b61f3325725d663d62f8338e50 /framework/Data/ActiveRecord | |
parent | de021710e1c0dae732e61ecb42a9ac60440f55ee (diff) |
replace array_push() function calls with native language constuct if make sense
Diffstat (limited to 'framework/Data/ActiveRecord')
-rw-r--r-- | framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php b/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php index a352cb07..85dd6735 100644 --- a/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php +++ b/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php @@ -84,7 +84,7 @@ abstract class TActiveRecordRelation $obj->collectForeignObjects($results);
}
else if($results instanceof TActiveRecordRelation)
- array_push($stack,$this); //call it later
+ $stack[] = $this; //call it later
return $results;
}
|