[BUGFIX] PHP Warning: Creating default object from empty value

Fixes: #3