We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d583c4 commit 01cf283Copy full SHA for 01cf283
src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.1.inc
@@ -126,7 +126,7 @@ function shouldBailEarly() {
126
parent::shouldBailEarly();
127
}
128
129
-new class extends ParentClass {
+$anon = new class extends ParentClass {
130
public function uselessOverridingMethod() {
131
parent::uselessOverridingMethod();
132
@@ -138,7 +138,7 @@ new class extends ParentClass {
138
};
139
140
function foo() {
141
- new class extends ParentClass {
+ $anon = new class extends ParentClass {
142
143
144
0 commit comments