Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.

Remove object access within callback function #40

Open
wants to merge 1 commit into
base: github
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,7 @@ protected function _initMageAppMock()

$this->getMageAppMock()->expects($this->any())
->method('getStore')
->will(
$this->returnCallback(
function () {
return $this->getMageStoreMock();
}
)
);
->will($this->returnCallback(array($this, 'getMageStoreMock')));
}

/**
Expand Down