@@ -4,12 +4,12 @@ class Error implements \Throwable
4
4
{
5
5
/** @implementation-alias Exception::__clone */
6
6
#[\Until('8.1 ' )]
7
- private final function __clone () : void
7
+ final private function __clone (): void
8
8
{
9
9
}
10
10
/** @implementation-alias Exception::__clone */
11
11
#[\Since('8.1 ' )]
12
- private function __clone () : void
12
+ private function __clone (): void
13
13
{
14
14
}
15
15
/** @implementation-alias Exception::__construct */
@@ -25,38 +25,38 @@ public function __wakeup()
25
25
{
26
26
}
27
27
/** @implementation-alias Exception::getMessage */
28
- public final function getMessage () : string
28
+ final public function getMessage (): string
29
29
{
30
30
}
31
31
/**
32
32
* @return int
33
33
* @implementation-alias Exception::getCode
34
34
*/
35
- public final function getCode ()
35
+ final public function getCode ()
36
36
{
37
37
}
38
38
/** @implementation-alias Exception::getFile */
39
- public final function getFile () : string
39
+ final public function getFile (): string
40
40
{
41
41
}
42
42
/** @implementation-alias Exception::getLine */
43
- public final function getLine () : int
43
+ final public function getLine (): int
44
44
{
45
45
}
46
46
/** @implementation-alias Exception::getTrace */
47
- public final function getTrace () : array
47
+ final public function getTrace (): array
48
48
{
49
49
}
50
50
/** @implementation-alias Exception::getPrevious */
51
- public final function getPrevious () : ?Throwable
51
+ final public function getPrevious (): ?Throwable
52
52
{
53
53
}
54
54
/** @implementation-alias Exception::getTraceAsString */
55
- public final function getTraceAsString () : string
55
+ final public function getTraceAsString (): string
56
56
{
57
57
}
58
58
/** @implementation-alias Exception::__toString */
59
- public function __toString () : string
59
+ public function __toString (): string
60
60
{
61
61
}
62
62
}
0 commit comments