Rename Match to MatchInterests because PHP8-lint rejects "match"

develop
Philipp 2022-11-09 22:36:02 +01:00
rodzic 7c66073e4b
commit 815d8975e6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 24A7501396EB5432
2 zmienionych plików z 22 dodań i 24 usunięć

Wyświetl plik

@ -42,12 +42,10 @@ use Friendica\Util\Profiler;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
/** /**
* Controller for /match.
*
* It takes keywords from your profile and queries the directory server for * It takes keywords from your profile and queries the directory server for
* matching keywords from other profiles. * matching keywords from other profiles.
*/ */
class Match extends BaseModule class MatchInterests extends BaseModule
{ {
const FETCH_PER_PAGE = 100; const FETCH_PER_PAGE = 100;

Wyświetl plik

@ -384,7 +384,7 @@ return [
'/hidden' => [Module\Contact::class, [R::GET]], '/hidden' => [Module\Contact::class, [R::GET]],
'/hovercard' => [Module\Contact\Hovercard::class, [R::GET]], '/hovercard' => [Module\Contact\Hovercard::class, [R::GET]],
'/ignored' => [Module\Contact::class, [R::GET]], '/ignored' => [Module\Contact::class, [R::GET]],
'/match' => [Module\Contact\Match::class, [R::GET]], '/match' => [Module\Contact\MatchInterests::class, [R::GET]],
'/pending' => [Module\Contact::class, [R::GET]], '/pending' => [Module\Contact::class, [R::GET]],
'/redir/{id:\d+}' => [Module\Contact\Redir::class, [R::GET]], '/redir/{id:\d+}' => [Module\Contact\Redir::class, [R::GET]],
'/suggestions' => [Module\Contact\Suggestions::class, [R::GET]], '/suggestions' => [Module\Contact\Suggestions::class, [R::GET]],