[system] remove scalar[] phpdoc type hinting
[dbal] fix phpdocs, type hinting and typecasting
[orm] fix code style