Code Duplication    Length = 3-3 lines in 2 locations

src/GetTrait.php 2 locations

@@ 56-58 (lines=3) @@
53
54
        $records = $this->get('/proofing/check', $query);
55
56
        if (is_array($records) && count($records) > 0) {
57
            $ret = $this->buildPropertyMapArray($records, $propertyMap);
58
        }
59
60
        return $ret;
61
    }
@@ 161-163 (lines=3) @@
158
159
        $records = $this->get('/templates/info', $query);
160
161
        if (is_array($records) && count($records) > 0) {
162
            $ret = $this->buildPropertyMapArray($records, $propertyMap);
163
        }
164
165
        return $ret;
166
    }