fix phpdocs and cs

Fix some cs bugs an phpdocs