Code Duplication    Length = 10-10 lines in 2 locations

src/Helper/Converter.php 2 locations

@@ 240-249 (lines=10) @@
237
     *
238
     * @return string|null
239
     */
240
    private function getIniReleaseDate($iniString)
241
    {
242
        if (preg_match('/Released=(.*)/', $iniString, $matches)) {
243
            if (isset($matches[1])) {
244
                return $matches[1];
245
            }
246
        }
247
248
        return null;
249
    }
250
    
251
    /**
252
     * Parses the ini data to get the releaseDate of loaded ini file
@@ 258-267 (lines=10) @@
255
     *
256
     * @return string|null
257
     */
258
    private function getIniType($iniString)
259
    {
260
        if (preg_match('/Type=(.*)/', $iniString, $matches)) {
261
            if (isset($matches[1])) {
262
                return $matches[1];
263
            }
264
        }
265
    
266
        return null;
267
    }
268
}
269