Lowercase NULL, TRUE, FALSE according to PSR2

This commit is contained in:
Laurent Destailleur
2018-04-16 13:51:16 +02:00
parent c702c88fde
commit 0d0da234b1
56 changed files with 138 additions and 138 deletions

View File

@@ -192,7 +192,7 @@ class MyModuleApi extends DolibarrApi
*
* @url POST myobjects/
*/
function post($request_data = NULL)
function post($request_data = null)
{
if(! DolibarrApiAccess::$user->rights->myobject->create) {
throw new RestException(401);
@@ -218,7 +218,7 @@ class MyModuleApi extends DolibarrApi
*
* @url PUT myobjects/{id}
*/
function put($id, $request_data = NULL)
function put($id, $request_data = null)
{
if(! DolibarrApiAccess::$user->rights->myobject->create) {
throw new RestException(401);