Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 991
Zeile 132... Zeile 132...
132
     * @phpstan-return array<int, array<int, array{0: InlineParserInterface, 1: non-empty-array<string>}>>
132
     * @phpstan-return array<int, array<int, array{0: InlineParserInterface, 1: non-empty-array<string>}>>
133
     */
133
     */
134
    private function matchParsers(string $contents): array
134
    private function matchParsers(string $contents): array
135
    {
135
    {
136
        $contents    = \trim($contents);
136
        $contents    = \trim($contents);
137
        $isMultibyte = \mb_strlen($contents, 'UTF-8') !== \strlen($contents);
137
        $isMultibyte = ! \mb_check_encoding($contents, 'ASCII');
Zeile 138... Zeile 138...
138
 
138
 
Zeile 139... Zeile 139...
139
        $ret = [];
139
        $ret = [];
140
 
140