summaryrefslogtreecommitdiff
path: root/includes/model/ShiftTypes_model.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model/ShiftTypes_model.php')
-rw-r--r--includes/model/ShiftTypes_model.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/model/ShiftTypes_model.php b/includes/model/ShiftTypes_model.php
index 8b1d56b8..ba8fa2c1 100644
--- a/includes/model/ShiftTypes_model.php
+++ b/includes/model/ShiftTypes_model.php
@@ -4,6 +4,7 @@
* Delete a shift type.
*
* @param int $shifttype_id
+ * @return mysqli_result|false
*/
function ShiftType_delete($shifttype_id)
{
@@ -17,6 +18,7 @@ function ShiftType_delete($shifttype_id)
* @param string $name
* @param int $angeltype_id
* @param string $description
+ * @return mysqli_result|false
*/
function ShiftType_update($shifttype_id, $name, $angeltype_id, $description)
{
@@ -35,7 +37,7 @@ function ShiftType_update($shifttype_id, $name, $angeltype_id, $description)
* @param string $name
* @param int $angeltype_id
* @param string $description
- * @return new shifttype id
+ * @return int|false new shifttype id
*/
function ShiftType_create($name, $angeltype_id, $description)
{
@@ -55,6 +57,7 @@ function ShiftType_create($name, $angeltype_id, $description)
* Get a shift type by id.
*
* @param int $shifttype_id
+ * @return array|null
*/
function ShiftType($shifttype_id)
{
@@ -70,6 +73,8 @@ function ShiftType($shifttype_id)
/**
* Get all shift types.
+ *
+ * @return array|false
*/
function ShiftTypes()
{