[repo.professor] error management

This commit is contained in:
xdrm-brackets 2018-03-05 18:48:30 +01:00
parent ae5a2459ff
commit fec2a504a8
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class professor extends Repo_i {
* @isAdmin<bool> Whether the professor is an admin
* @casLogin<String> The professor's CAS username
*
* @return prof_id<int> The professor's UID (or NULL on error)
* @return prof_id<int> The professor's UID (or -1 on error)
*
---------------------------------------------------------*/
public function create(string $lastName, string $firstName, int $category, $hoursToDo = 0, $initials = "", $isAdmin = false , $casLogin = "" ) : ?int{