Upgrade to 3.6.1

This commit is contained in:
Bastian Allgeier
2021-12-07 12:39:37 +01:00
parent 9fc43ea22c
commit 70b8439c49
134 changed files with 19987 additions and 1100 deletions

View File

@@ -45,10 +45,10 @@ class Options
*/
public static function api($api, $model = null): array
{
$model = $model ?? App::instance()->site();
$fetch = null;
$text = null;
$value = null;
$model ??= App::instance()->site();
$fetch = null;
$text = null;
$value = null;
if (is_array($api) === true) {
$fetch = $api['fetch'] ?? null;
@@ -165,7 +165,7 @@ class Options
*/
public static function query($query, $model = null): array
{
$model = $model ?? App::instance()->site();
$model ??= App::instance()->site();
// default text setup
$text = [