View Issue Details

IDProjectCategoryView StatusLast Update
0004440OXID eShop (all versions)1.03. Basket, checkout processpublic2012-12-10 13:22
ReporterWBL_BjoernLange Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.0_5.0.0_beta1 
Fixed in Version4.8.0_5.1.0_beta1 
Summary0004440: Wrong Type-Hints in oxOrder
DescriptionFor 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.
TagsOrder
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

There are no notes attached to this issue.