Skip to content

Commit c3b35d4

Browse files
authored
Fixed PHPDoc. Added contributor details. (#33988)
1 parent 5e887e8 commit c3b35d4

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

htdocs/fichinter/class/api_interventions.class.php

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
2-
/* Copyright (C) 2015 Jean-François Ferry <[email protected]>
2+
/* Copyright (C) 2015 Jean-François Ferry <[email protected]>
33
* Copyright (C) 2016 Laurent Destailleur <[email protected]>
4+
* Copyright (C) 2025 William Mead <[email protected]>
45
*
56
* This program is free software; you can redistribute it and/or modify
67
* it under the terms of the GNU General Public License as published by
@@ -69,13 +70,14 @@ public function __construct()
6970
}
7071

7172
/**
72-
* Get properties of a Expense Report object
73-
* Return an array with Expense Report information
73+
* Get properties of an intervention object
7474
*
75-
* @param int $id ID of Expense Report
76-
* @return Object Object with cleaned properties
75+
* Return an array with intervention information
7776
*
78-
* @throws RestException
77+
* @param int $id ID of intervention
78+
* @return Object Intervention object with cleaned properties
79+
*
80+
* @throws RestException
7981
*/
8082
public function get($id)
8183
{
@@ -300,9 +302,9 @@ public function postLine($id, $request_data = null)
300302
}
301303

302304
/**
303-
* Delete order
305+
* Delete intervention
304306
*
305-
* @param int $id Order ID
307+
* @param int $id Intervention ID
306308
* @return array
307309
*/
308310
public function delete($id)

0 commit comments

Comments
 (0)