[repo.professor] error management
This commit is contained in:
parent
ae5a2459ff
commit
fec2a504a8
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue