optimize imports
optimize AbstractPlatform phpDocs
optimize code fragments and CS
fix more typos in phpDocs