Skip to content

Commit

Permalink
Merge pull request #14 from sroehrl/release/0.3.10
Browse files Browse the repository at this point in the history
easy: accept null instead of call-function
  • Loading branch information
sroehrl authored Jan 18, 2023
2 parents 5f0c778 + 1c972da commit e82e387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ private static function handleSelectandi($fields): string
/**
* @param $selectorString
* @param array $conditionArray
* @param array $callFunctions
* @param array|null $callFunctions
* @param string $output
*
* @return mixed
* @throws DbException
*/
public static function easy($selectorString, array $conditionArray = [], array $callFunctions = [], string $output = 'data')
public static function easy($selectorString, array $conditionArray = [], ?array $callFunctions = [], string $output = 'data')
{
self::init();
$qStr = 'SELECT ';
Expand Down

0 comments on commit e82e387

Please sign in to comment.