Skip to content

Improve Provisoning ManagerTest #12595

@kesselb

Description

@kesselb

/** @var IUser|MockObject $user */
$user = $this->createStub(IUser::class);

The phpdoc still annotates $user as IUser|MockObject, but the value is now created via createStub(). This makes the annotation inaccurate/misleading (and can confuse IDEs/static analysis). Either update the annotation to IUser/Stub or switch back to createMock() if you want a MockObject here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions