diff --git a/build/database/repo/professor.php b/build/database/repo/professor.php index 4adb6e0..9a1e73b 100644 --- a/build/database/repo/professor.php +++ b/build/database/repo/professor.php @@ -24,7 +24,7 @@ class professor extends Repo_i { * @isAdmin Whether the professor is an admin * @casLogin The professor's CAS username * - * @return prof_id The professor's UID (or NULL on error) + * @return prof_id The professor's UID (or -1 on error) * ---------------------------------------------------------*/ public function create(string $lastName, string $firstName, int $category, $hoursToDo = 0, $initials = "", $isAdmin = false , $casLogin = "" ) : ?int{