com php-langspec: Fix Throwable interface method modifiers: spec/15-interfaces.md
[email protected] (Nikita Popov) Sun, 24 Apr 2016 12:22:05 +0000
| Newsgroups | php.standards.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 8b72d55c0b874f41e012425200fb7bdc90e34e1e Author: Richard Fussenegger <[email protected]> Wed, 20 Apr 2016 20:59:26 +0200 Committer: Nikita Popov <[email protected]> Sun, 24 Apr 2016 14:22:05 +0200 Parents: 5773cdfc180a99316a6da2624f65d01473d99448 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=8b72d55c0b874f41e012425200fb7bdc90e34e1e Log: Fix Throwable interface method modifiers Changed paths: M spec/15-interfaces.md Diff: diff --git a/spec/15-interfaces.md b/spec/15-interfaces.md index fd56ca7..ec70164 100644 --- a/spec/15-interfaces.md +++ b/spec/15-interfaces.md @@ -230,14 +230,14 @@ This type is defined, as follows: ```PHP interface Throwable { - abstract public __toString(): string; - abstract public getCode(): int; - abstract public getFile(): string; - abstract public getLine(): int; - abstract public getMessage(): string; - abstract public getPrevious(): Throwable; - abstract public getTrace(): array; - abstract public getTraceAsString(): string; + function __toString(): string; + function getCode(): int; + function getFile(): string; + function getLine(): int; + function getMessage(): string; + function getPrevious(): Throwable; + function getTrace(): array; + function getTraceAsString(): string; } ``` The interface members are defined below: