Code Duplication    Length = 3-3 lines in 2 locations

src/ReportingCloud.php 2 locations

@@ 67-69 (lines=3) @@
64
65
        $records = $this->get('/proofing/check', $query);
66
67
        if (is_array($records) && count($records) > 0) {
68
            $ret = $this->buildPropertyMapArray($records, $propertyMap);
69
        }
70
71
        return $ret;
72
    }
@@ 147-149 (lines=3) @@
144
145
        $records = $this->get('/templates/info', $query);
146
147
        if (is_array($records) && count($records) > 0) {
148
            $ret = $this->buildPropertyMapArray($records, $propertyMap);
149
        }
150
151
        return $ret;
152
    }