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

Warning: Creating default object from empty value #71

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Jandelson
Copy link

Add check on import loaded option
when it does not exist it generates Warning
Creating default object from empty value

Add check on import loaded option
when it does not exist it generates Warning
Creating default object from empty value

checking if there is an index to solve.
Warning: Creating default object from empty value
@Jandelson
Copy link
Author

warning generated when using https URL

Copy link

@zerobyt zerobyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My fixed bug propose is:

(isset($this->schemas[$ns][$ns2]->imports[$ns2][$ii]['loaded'])) ? true : false;

But you method is nice my friend

@f3l1x
Copy link
Member

f3l1x commented Jul 20, 2021

Could you rebase it @Jandelson ?

Copy link

@zerobyt zerobyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My propose is:

(isset($this->schemas[$ns][$ns2]->imports[$ns2][$ii]['loaded'])) ? true : false;

@f3l1x f3l1x force-pushed the master branch 2 times, most recently from f034663 to cb4d0dc Compare July 5, 2023 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants