View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004440 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2012-08-22 21:44 | 2012-12-10 13:22 |
Reporter | WBL_BjoernLange | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.0_5.0.0_beta1 | ||||
Fixed in Version | 4.8.0_5.1.0_beta1 | ||||
Summary | 0004440: Wrong Type-Hints in oxOrder | ||||
Description | For example: /** * Get payment type * * @return oxPayment */ public function getPaymentType() { if ( $this->oxorder__oxpaymentid->value && $this->_oPaymentType === null ) { $this->_oPaymentType = false; $oPaymentType = oxNew( 'oxuserpayment' ); if ( $oPaymentType->load( $this->oxorder__oxpaymentid->value ) ) { $this->_oPaymentType = $oPaymentType; } } return $this->_oPaymentType; } And on the class property aswell. | ||||
Tags | Order | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||