adds parameter to ampeln deadline/overdue phrase

This commit is contained in:
SimonGschnell
2024-08-07 15:21:22 +02:00
parent 05e0d219f4
commit 3f86961bda
3 changed files with 12 additions and 13 deletions
@@ -25,11 +25,10 @@ if (! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Used to create a return object, should not be used directly
* @return stdClass
* @return stdClass
*/
function _createReturnObject($code, $error, $retval)
{
$returnObject = new stdClass();
$returnObject->code = $code;
$returnObject->error = $error;
@@ -41,7 +40,7 @@ function _createReturnObject($code, $error, $retval)
/**
* Success
*
* @return stdClass
* @return stdClass
*/
function success($retval = null, $code = null)
{
@@ -51,7 +50,7 @@ function success($retval = null, $code = null)
/**
* Error
*
* @return stdClass
* @return stdClass
*/
function error($retval = null, $code = null)
{