Update DebugWidget.php

Get error if $value is object
Update DebugWidget.php

Old array style for PHP 5.3
Merge pull request #1 from mrspartak/master

Removes shorthand array syntax for php < 5.4