Skip to content

Commit 4d98a17

Browse files
author
Théo FIDRY
committed
Fix statement
1 parent 2f320fc commit 4d98a17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specs/special-keywords/self-static-parent-method.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getName(): string {
5151
public function create(): self {
5252
return new static();
5353
return new self();
54-
return new parent::create();
54+
return parent::create();
5555
}
5656
}
5757
@@ -95,7 +95,7 @@ public function create(): self
9595
{
9696
return new static();
9797
return new self();
98-
return new parent::create();
98+
return parent::create();
9999
}
100100
}
101101
class B extends \A
@@ -147,7 +147,7 @@ public function getName(): string {
147147
public function create(): self {
148148
return new static();
149149
return new self();
150-
return new parent::create();
150+
return parent::create();
151151
}
152152
}
153153
@@ -195,7 +195,7 @@ public function create(): self
195195
{
196196
return new static();
197197
return new self();
198-
return new parent::create();
198+
return parent::create();
199199
}
200200
}
201201
class B extends \Humbug\Foo\A

0 commit comments

Comments
 (0)