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 200
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
3
/*
3
/*
4
 * This file is part of Psy Shell.
4
 * This file is part of Psy Shell.
5
 *
5
 *
6
 * (c) 2012-2022 Justin Hileman
6
 * (c) 2012-2023 Justin Hileman
7
 *
7
 *
8
 * For the full copyright and license information, please view the LICENSE
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
9
 * file that was distributed with this source code.
Zeile 160... Zeile 160...
160
 
160
 
161
    /**
161
    /**
162
     * Get (or create) the Parser instance.
162
     * Get (or create) the Parser instance.
163
     *
163
     *
164
     * @param string|null $kind One of Psy\ParserFactory constants (only for PHP parser 2.0 and above)
-
 
165
     *
-
 
166
     * @return Parser
164
     * @param string|null $kind One of Psy\ParserFactory constants (only for PHP parser 2.0 and above)
167
     */
165
     */
168
    private function getParser(string $kind = null): Parser
166
    private function getParser(string $kind = null): Parser
169
    {
167
    {
170
        if (!\array_key_exists($kind, $this->parsers)) {
168
        if (!\array_key_exists($kind, $this->parsers)) {