mirror of
https://github.com/flarum/core.git
synced 2025-08-09 09:57:06 +02:00
fix(regression): caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "1.x-dev"
|
||||
"dev-main": "2.x-dev"
|
||||
},
|
||||
"flarum-cli": {
|
||||
"excludeScaffolding": [
|
||||
|
@@ -88,7 +88,7 @@ class Discussion extends AbstractModel
|
||||
/**
|
||||
* The user for which the state relationship should be loaded.
|
||||
*/
|
||||
protected static ?User $stateUser;
|
||||
protected static ?User $stateUser = null;
|
||||
|
||||
public static function boot()
|
||||
{
|
||||
|
@@ -50,7 +50,7 @@ class GambitManager
|
||||
|
||||
protected function applyGambits(SearchState $search, string $query): string
|
||||
{
|
||||
$bits = $this->explode($query);
|
||||
$bits = array_filter($this->explode($query));
|
||||
|
||||
if (! $bits) {
|
||||
return '';
|
||||
|
Reference in New Issue
Block a user