Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object cannot be used as type array #3

Closed
ReeceM opened this issue May 7, 2019 · 0 comments
Closed

Object cannot be used as type array #3

ReeceM opened this issue May 7, 2019 · 0 comments
Labels
bug Something isn't working enhancement New feature or request in review

Comments

@ReeceM
Copy link
Owner

ReeceM commented May 7, 2019

Describe the bug
The object class Mocked cannot have calls to arrays done on it.
This is raised on the dependent package on Qoraiche/laravel-mail-editor#30

To Reproduce
Steps to reproduce the behavior:
Call and array on an object that is mocked. It can be done using multi-dimensions and also just single.
e.g. `$this->data['group']['name']

Expected behavior
Should return a value for the array, even if it has multiple calls to itself

Screenshots
screenshots on this issue here
Qoraiche/laravel-mail-editor#30

affects

  • reecem\mocker v1.1.0
@ReeceM ReeceM added bug Something isn't working enhancement New feature or request in review labels May 7, 2019
@ReeceM ReeceM closed this as completed in 34bdd68 May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request in review
Projects
None yet
Development

No branches or pull requests

1 participant