Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Zur aktuellen Revision | 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 30... Zeile 30...
30
    ];
30
    ];
Zeile 31... Zeile 31...
31
 
31
 
32
    /**
32
    /**
33
     * Get all (completable) PHP keywords.
33
     * Get all (completable) PHP keywords.
34
     *
34
     *
35
     * @return array
35
     * @return string[]
36
     */
36
     */
37
    public function getKeywords(): array
37
    public function getKeywords(): array
38
    {
38
    {
39
        return $this->keywords;
39
        return $this->keywords;
Zeile 40... Zeile 40...
40
    }
40
    }
41
 
41
 
42
    /**
42
    /**
43
     * Check whether $keyword is a (completable) PHP keyword.
43
     * Check whether $keyword is a (completable) PHP keyword.
44
     *
-
 
45
     * @param string $keyword
-
 
46
     *
44
     *
47
     * @return bool
45
     * @param string $keyword
48
     */
46
     */
49
    public function isKeyword(string $keyword): bool
47
    public function isKeyword(string $keyword): bool
50
    {
48
    {