We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18fa8e3 commit de3541eCopy full SHA for de3541e
2 files changed
examples/testTag/testTagOnClass.php
@@ -21,11 +21,11 @@ class AnotherClass
21
{
22
public function newInstance(): Person
23
24
- return new Person();
+ return new Person(); // ERROR
25
}
26
27
public function buildPerson(): Person
28
29
- return Person::create();
+ return Person::create(); // ERROR
30
31
examples/testTag/testTagOnClassIgnoredInTestClass.php
@@ -21,11 +21,11 @@ class PersonTest
- return new Person(); // ERROR
+ return new Person(); // No Error
- return Person::create(); // ERROR
+ return Person::create(); // No error
0 commit comments