- added missing type-hints - first access level, then static - reformatted code following code-style
- avoid having array|string for $table to have a "string" type-hint for $table - you now have to do it for yourself by giving 'schema.table' as parameter