Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public static function new(string $alias, array $registeredAliases) : self |
||
17 | { |
||
18 | return new self( |
||
19 | sprintf( |
||
20 | "The given alias '%s' is not unique in FROM and JOIN clause table. " |
||
21 | . 'The currently registered aliases are: %s.', |
||
22 | $alias, |
||
23 | implode(', ', $registeredAliases) |
||
24 | ) |
||
28 |