<?php

namespace Heystack\Availability;

use DataExtension;

/**
 * @package Heystack\Availability
 */
class DiscountAvailabilityExtension extends DataExtension
{
    /**
     * @param $class
     * @param $extension
     * @param $args
     * @return array
     */
    public static function get_extra_config($class, $extension, $args)
    {
        return [
            'many_many' => [
                'DiscountAvailabilityZones' => 'Heystack\\DB\\Zone'
            ]
        ];
    }
}
<?php

namespace Heystack\Availability;

use DataExtension;

/**
 * @package Heystack\Availability
 */
class DiscountAvailabilityExtension extends DataExtension
{
    /**
     * @param string $class
     * @param string $extension
     * @param array $args
     * @return array
     */
    public static function get_extra_config($class, $extension, $args)
    {
        return [
            'many_many' => [
                'DiscountAvailabilityZones' => 'Heystack\\DB\\Zone'
            ]
        ];
    }
}
Improve docblock return types and using fully-qualified namespaces
Improve docblock return types and using fully-qualified namespaces
