Skip to content

Returned service is not always object#23

Merged
Naktibalda merged 1 commit intoCodeception:masterfrom
svycka:patch-1
Nov 20, 2022
Merged

Returned service is not always object#23
Naktibalda merged 1 commit intoCodeception:masterfrom
svycka:patch-1

Conversation

@svycka
Copy link
Copy Markdown
Contributor

@svycka svycka commented Nov 15, 2022

for example $I->grabServiceFromContainer('Config') will return array and without fix this would cause

[TypeError] Codeception\Lib\Connector\Laminas::grabServiceFromContainer(): Return value must be of type object, array returned

for example `$I->grabServiceFromContainer('Config')` will return array and without fix this would cause
```
[TypeError] Codeception\Lib\Connector\Laminas::grabServiceFromContainer(): Return value must be of type object, array returned
```
@Arhell Arhell requested a review from Naktibalda November 16, 2022 00:08
@Naktibalda Naktibalda merged commit ad1fa0e into Codeception:master Nov 20, 2022
@svycka svycka deleted the patch-1 branch November 21, 2022 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants