Code Duplication    Length = 10-10 lines in 2 locations

code/model/SilverstripeColumnsPageExtension.php 2 locations

@@ 160-169 (lines=10) @@
157
     *
158
     * @return string (HTML)
159
     */
160
    public function getFullWidthContent()
161
    {
162
        if ($this->owner->hasMethod('FullWidthContentOverloaded')) {
163
            $v = $this->owner->FullWidthContentOverloaded();
164
            if ($v !== null) {
165
                return $v;
166
            }
167
        }
168
        return $this->owner->renderWith('FullWidthContent');
169
    }
170
171
    /**
172
     *
@@ 175-184 (lines=10) @@
172
     *
173
     * @return string (HTML)
174
     */
175
    public function getSummaryContent()
176
    {
177
        if ($this->owner->hasMethod('SummaryContentOverloaded')) {
178
            $v = $this->owner->SummaryContentOverloaded();
179
            if ($v !== null) {
180
                return $v;
181
            }
182
        }
183
        return $this->owner->renderWith('SummaryContent');
184
    }
185
186
    private static $_children_show_in_menu = [];
187