Code Duplication    Length = 10-10 lines in 2 locations

code/model/SilverstripeColumnsPageExtension.php 2 locations

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