Merge pull request #10380 from aspangaro/10.0_phpcs

Phpcs Ignore Alert Generic.CodeAnalysis.UnusedFunctionParameter
This commit is contained in:
Laurent Destailleur 2019-01-21 23:42:12 +01:00 committed by GitHub
commit f153a4c152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,7 @@ class PaymentExpenseReport extends CommonObject
} }
} }
// phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter
/** /**
* Update database * Update database
* *
@ -260,6 +260,7 @@ class PaymentExpenseReport extends CommonObject
*/ */
function update($user=null, $notrigger=0) function update($user=null, $notrigger=0)
{ {
// phpcs:enable
global $conf, $langs; global $conf, $langs;
$error=0; $error=0;
@ -336,7 +337,7 @@ class PaymentExpenseReport extends CommonObject
} }
} }
// phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter
/** /**
* Delete object in database * Delete object in database
* *
@ -346,6 +347,7 @@ class PaymentExpenseReport extends CommonObject
*/ */
function delete($user, $notrigger=0) function delete($user, $notrigger=0)
{ {
// phpcs:enable
global $conf, $langs; global $conf, $langs;
$error=0; $error=0;