Code Duplication    Length = 9-9 lines in 3 locations

src/Forms/ToggleCompositeField.php 1 location

@@ 45-53 (lines=9) @@
42
     * @param array $properties
43
     * @return string
44
     */
45
    public function FieldHolder($properties = array())
46
    {
47
        $context = $this;
48
49
        if (count($properties)) {
50
            $context = $this->customise($properties);
51
        }
52
53
        return $context->renderWith($this->getTemplates());
54
    }
55
56
    /**

src/Forms/FormField.php 2 locations

@@ 1067-1075 (lines=9) @@
1064
     *
1065
     * @return DBHTMLText
1066
     */
1067
    public function FieldHolder($properties = array())
1068
    {
1069
        $context = $this;
1070
1071
        if (count($properties)) {
1072
            $context = $this->customise($properties);
1073
        }
1074
1075
        return $context->renderWith($this->getFieldHolderTemplates());
1076
    }
1077
1078
    /**
@@ 1085-1093 (lines=9) @@
1082
     *
1083
     * @return string
1084
     */
1085
    public function SmallFieldHolder($properties = array())
1086
    {
1087
        $context = $this;
1088
1089
        if (count($properties)) {
1090
            $context = $this->customise($properties);
1091
        }
1092
1093
        return $context->renderWith($this->getSmallFieldHolderTemplates());
1094
    }
1095
1096
    /**