Fixes syntax error, trying to override populateFromArray as an abstract version
Also fixes error in PHPStorm, confused by array syntax.