[General] adds phpdoc comments