Issues (54)

src/Grammar/Grammar.php (1 issue)

1
<?php declare(strict_types=1);
2
3
/**
4
 * @license     http://opensource.org/licenses/mit-license.php MIT
5
 * @link        https://github.com/nicoSWD
6
 * @author      Nicolas Oelgart <[email protected]>
7
 */
8
namespace nicoSWD\Rule\Grammar;
9
10
abstract class Grammar
11
{
12
    /** @return array<int, <mixed>> */
0 ignored issues
show
Documentation Bug introduced by
The doc comment array<int, <mixed>> at position 4 could not be parsed: Unknown type name '<' at position 4 in array<int, <mixed>>.
Loading history...
13
    abstract public function getDefinition(): array;
14
15
    /** @return array<string, string> */
16 2
    public function getInternalFunctions(): array
17
    {
18 2
        return [];
19
    }
20
21
    /** @return array<string, string> */
22 2
    public function getInternalMethods(): array
23
    {
24 2
        return [];
25
    }
26
}
27