Skip to content

Commit fe46027

Browse files
committed
MC-39901: Stabilize Web-API tests
- Fix phpstan issues
1 parent 56f3776 commit fe46027

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/TestCase/WebapiAbstract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,10 @@ public static function getFixture($key)
258258
*
259259
* @param \Magento\Framework\Model\AbstractModel $model
260260
* @param bool $secure
261-
* @return \Magento\TestFramework\TestCase\WebapiAbstract
261+
* @return void
262262
* //phpcs:disable
263263
*/
264-
public static function callModelDelete($model, $secure = false)
264+
public static function callModelDelete($model, $secure = false) : void
265265
{
266266
//phpcs:enable
267267
if ($model instanceof \Magento\Framework\Model\AbstractModel && $model->getId()) {

dev/tests/api-functional/testsuite/Magento/Customer/Api/GroupRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class GroupRepositoryTest extends WebapiAbstract
4040
private $groupRepository;
4141

4242
/**
43-
* @var \Magento\Customer\Api\Data\groupInterfaceFactory
43+
* @var \Magento\Customer\Api\Data\GroupInterfaceFactory
4444
*/
4545
private $customerGroupFactory;
4646

0 commit comments

Comments
 (0)