Issues (6)

src/Parser/ParserInterface.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
6
namespace Enjoys\Dotenv\Parser;
7
8
9
use Enjoys\Dotenv\Parser\Lines\LineInterface;
10
11
interface ParserInterface
12
{
13
    /**
14
     * @param string $content
15
     * @return array<string, string|null>
16
     */
17
    public function parseEnv(string $content): array;
18
    /**
19
     * @param string $content
20
     * @return array<array-key, LineInterface>
0 ignored issues
show
Documentation Bug introduced by
The doc comment array<array-key, LineInterface> at position 2 could not be parsed: Unknown type name 'array-key' at position 2 in array<array-key, LineInterface>.
Loading history...
21
     */
22
    public function parseStructure(string $content): array;
23
}
24