This website works better with JavaScript.
Explore
Register
Sign In
kernel
/
git
mirror of
https://git.kernel.org/pub/scm/git/git.git
Watch
1
Star
0
Fork
You've already forked git
0
Code
Releases
Activity
65854
Commits
6
Branches
36
Tags
131 MiB
Tree:
834625bd6f
git
/
t
/
t4018
/
php-abstract-method
8 lines
110 B
Raw
Normal View
History
Unescape
Escape
userdiff: PHP: catch "abstract" and "final" functions 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>
5 years ago
abstract class Klass
{
abstract public function RIGHT(): ?string
{
return 'ChangeMe';
}
}