Recordar usar las convenciones de código :

https://support.chamilo.org//projects/1/wiki/Coding_conventions
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md

<pre>
function addUser($userId, $classId) 
{
</pre>