Code Duplication    Length = 7-7 lines in 3 locations

src/Extractors/JsCode.php 1 location

@@ 64-70 (lines=7) @@
61
     * @inheritDoc
62
     * @throws Exception
63
     */
64
    public static function fromFileMultiple($file, array $translations, array $options = [])
65
    {
66
        foreach (self::getFiles($file) as $file) {
67
            $options['file'] = $file;
68
            static::fromStringMultiple(self::readFile($file), $translations, $options);
69
        }
70
    }
71
}
72

src/Extractors/PhpCode.php 1 location

@@ 74-80 (lines=7) @@
71
    /**
72
     * @inheritDoc
73
     */
74
    public static function fromFileMultiple($file, array $translations, array $options = [])
75
    {
76
        foreach (self::getFiles($file) as $file) {
77
            $options['file'] = $file;
78
            static::fromStringMultiple(self::readFile($file), $translations, $options);
79
        }
80
    }
81
82
83
    /**

src/Extractors/VueJs.php 1 location

@@ 48-54 (lines=7) @@
45
     * @inheritDoc
46
     * @throws Exception
47
     */
48
    public static function fromFileMultiple($file, array $translations, array $options = [])
49
    {
50
        foreach (self::getFiles($file) as $file) {
51
            $options['file'] = $file;
52
            static::fromStringMultiple(self::readFile($file), $translations, $options);
53
        }
54
    }
55
56
    /**
57
     * @inheritdoc