Fixing request strictness
Using get_object_vars to turn object into array
Testing if array or not
Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/alexsomeoddpilot/wpbase/inspections/e4e09ec0-65c9-47f3-9436-fcf1636d86b0

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Code Sniffer
 - Security Advisory Checker
 - PHP PDepend
 - PHP Similarity Analyzer
 - PHP Change Tracking Analyzer
Merge pull request #5 from alexsomeoddpilot/scrutinizer-patch-2

Scrutinizer Auto-Fixes
Fixing fake request context
Merge branch 'develop' of https://github.com/alexsomeoddpilot/wpbase into develop
Merge branch 'release/v0.1.3'