Skip to content

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.

3 participants