Code Duplication    Length = 9-9 lines in 2 locations

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

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

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

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