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

This commit is contained in:
Philipp Holzer 2022-11-09 22:36:02 +01:00
parent 7c66073e4b
commit 815d8975e6
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
2 changed files with 22 additions and 24 deletions

View file

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

View file

@ -384,7 +384,7 @@ return [
'/hidden' => [Module\Contact::class, [R::GET]],
'/hovercard' => [Module\Contact\Hovercard::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]],
'/redir/{id:\d+}' => [Module\Contact\Redir::class, [R::GET]],
'/suggestions' => [Module\Contact\Suggestions::class, [R::GET]],