From f8f163d054110f7e0ff6650fca146b474335f4bd Mon Sep 17 00:00:00 2001 From: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> Date: Fri, 7 Jul 2023 22:36:27 +0200 Subject: Chore/processing of depreciations and updating code to php72 minimum (#5504) * processing of depreciations and updating of code to php7.2 minimum * Autoformat many strange array indenting And revert a few unwanted changes --------- Co-authored-by: Luc Co-authored-by: Alexandre Alapetite --- app/Models/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/Search.php') diff --git a/app/Models/Search.php b/app/Models/Search.php index 9622e18ab..52b000344 100644 --- a/app/Models/Search.php +++ b/app/Models/Search.php @@ -645,7 +645,7 @@ class FreshRSS_Search { return ''; } if (preg_match_all('/(?<=\s|^)[!-](?P[^\s]+)/', $input, $matches)) { - $this->not_search = array_merge(is_array($this->not_search) ? $this->not_search : array(), $matches['search']); + $this->not_search = array_merge(is_array($this->not_search) ? $this->not_search : [], $matches['search']); $input = str_replace($matches[0], '', $input); } $this->not_search = self::removeEmptyValues($this->not_search); -- cgit v1.2.3