Clean code and php doc