mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 01:44:28 +02:00
19 lines
468 B
PHP
19 lines
468 B
PHP
<?php
|
|
|
|
// Copyright (C) 2010-2024, the Friendica project
|
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
namespace Friendica\Module\HTTPException;
|
|
|
|
use Friendica\BaseModule;
|
|
use Friendica\Network\HTTPException;
|
|
|
|
class MethodNotAllowed extends BaseModule
|
|
{
|
|
protected function content(array $request = []): string
|
|
{
|
|
throw new HTTPException\MethodNotAllowedException($this->t('Method Not Allowed.'));
|
|
}
|
|
}
|