Code Duplication    Length = 9-9 lines in 2 locations

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

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

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

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