diff --git a/htdocs/fichinter/class/api_interventions.class.php b/htdocs/fichinter/class/api_interventions.class.php index 79f8991dc09..59407ce46bd 100644 --- a/htdocs/fichinter/class/api_interventions.class.php +++ b/htdocs/fichinter/class/api_interventions.class.php @@ -1,6 +1,7 @@ +/* Copyright (C) 2015 Jean-François Ferry * Copyright (C) 2016 Laurent Destailleur + * Copyright (C) 2025 William Mead * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,13 +70,14 @@ class Interventions extends DolibarrApi } /** - * Get properties of a Expense Report object - * Return an array with Expense Report information + * Get properties of an intervention object * - * @param int $id ID of Expense Report - * @return Object Object with cleaned properties + * Return an array with intervention information * - * @throws RestException + * @param int $id ID of intervention + * @return Object Intervention object with cleaned properties + * + * @throws RestException */ public function get($id) { @@ -300,9 +302,9 @@ class Interventions extends DolibarrApi } /** - * Delete order + * Delete intervention * - * @param int $id Order ID + * @param int $id Intervention ID * @return array */ public function delete($id)