Convert EntityStorageBaseTest.
1 open thread
Closes #3443533
Merge request reports
Activity
21 22 * @return \Drupal\Core\Entity\EntityInterface|\PHPUnit\Framework\MockObject\MockObject 22 23 * The mocked entity. 23 24 */ 24 public function generateEntityInterface($id) { 25 public function generateEntityInterface(string $id): MockObject { I think this should be
EntityInterface&MockObject
, we have done this already in othet issuesSee https://phpstan.org/blog/union-types-vs-intersection-types
changed this line in version 3 of the diff
Please register or sign in to reply