mirror of
https://github.com/git/git
synced 2024-11-05 04:53:18 +00:00
aff92827b5
PHP permits functions to be defined like final public function foo() { } abstract protected function bar() { } but our hunk header pattern does not recognize these decorations. Add "final" and "abstract" to the list of function modifiers. Helped-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Javier Spagnoletti <phansys@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
7 lines
97 B
Text
7 lines
97 B
Text
class Klass
|
|
{
|
|
final public function RIGHT(): string
|
|
{
|
|
return 'ChangeMe';
|
|
}
|
|
}
|