Code Duplication    Length = 9-9 lines in 2 locations

application/modules/xbanners/models/Base/BannerImageQuery.php 1 location

@@ 991-999 (lines=9) @@
988
     *
989
     * @return    $this|ChildBannerImageQuery The current query, for fluid interface
990
     */
991
    public function joinWithI18n($locale = 'ru', $joinType = Criteria::LEFT_JOIN)
992
    {
993
        $this
994
            ->joinI18n($locale, null, $joinType)
995
            ->with('BannerImageI18n');
996
        $this->with['BannerImageI18n']->setIsWithOneToMany(false);
997
998
        return $this;
999
    }
1000
1001
    /**
1002
     * Use the I18n relation query object

application/modules/xbanners/models/Base/BannersQuery.php 1 location

@@ 784-792 (lines=9) @@
781
     *
782
     * @return    $this|ChildBannersQuery The current query, for fluid interface
783
     */
784
    public function joinWithI18n($locale = 'ru', $joinType = Criteria::LEFT_JOIN)
785
    {
786
        $this
787
            ->joinI18n($locale, null, $joinType)
788
            ->with('BannersI18n');
789
        $this->with['BannersI18n']->setIsWithOneToMany(false);
790
791
        return $this;
792
    }
793
794
    /**
795
     * Use the I18n relation query object