Fixing wrong inherited methodsyntax
This commit is contained in:
@@ -32,7 +32,7 @@ use Friendica\Network\HTTPException\NotFoundException;
|
||||
*/
|
||||
class Lookup extends BaseApi
|
||||
{
|
||||
public function rawContent()
|
||||
protected function rawContent(array $request = [])
|
||||
{
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
@@ -35,7 +35,7 @@ use Friendica\Network\HTTPException\NotFoundException;
|
||||
*/
|
||||
class Search extends BaseApi
|
||||
{
|
||||
public function rawContent()
|
||||
protected function rawContent(array $request = [])
|
||||
{
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
@@ -32,7 +32,7 @@ use Friendica\DI;
|
||||
*/
|
||||
class Show extends BaseApi
|
||||
{
|
||||
public function rawContent()
|
||||
protected function rawContent(array $request = [])
|
||||
{
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
Reference in New Issue
Block a user