Skip to content

Commit

Permalink
Update helpers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jupitern authored Jun 11, 2021
1 parent d39f587 commit b92c5d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ function app($appName = null, $configs = [])
/**
* log a message
*
* @param int $level
* @param mixed $level
* @param mixed $message
* @param array $context
*
* @throws ReflectionException
*/
function addLog(int $level, $message, array $context = [])
function addLog($level, $message, array $context = [])
{
if (!app()->has('logger')) return;

Expand Down Expand Up @@ -159,4 +159,4 @@ function debug($var, $exit = false, $return = false, $separator = null)
}

return $log . $separator;
}
}

0 comments on commit b92c5d0

Please sign in to comment.