mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
Mixed parameter order
This commit is contained in:
parent
da9b5f32db
commit
0e3c8e3f5e
2 changed files with 1 additions and 2 deletions
|
@ -295,7 +295,7 @@ class BaseApi extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
public static function getContactIDForSearchterm(string $screen_name = null, int $cid = null, string $profileurl = null, int $uid)
|
||||
public static function getContactIDForSearchterm(string $screen_name = null, string $profileurl = null, int $cid = null, int $uid)
|
||||
{
|
||||
if (!empty($cid)) {
|
||||
return $cid;
|
||||
|
|
|
@ -295,7 +295,6 @@ class ApiTest extends FixtureTest
|
|||
'method'
|
||||
)
|
||||
);
|
||||
self::assertTrue($API['api_path']['auth']);
|
||||
self::assertEquals('method', $API['api_path']['method']);
|
||||
self::assertTrue(is_callable($API['api_path']['func']));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue