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)) {
|
if (!empty($cid)) {
|
||||||
return $cid;
|
return $cid;
|
||||||
|
|
|
@ -295,7 +295,6 @@ class ApiTest extends FixtureTest
|
||||||
'method'
|
'method'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
self::assertTrue($API['api_path']['auth']);
|
|
||||||
self::assertEquals('method', $API['api_path']['method']);
|
self::assertEquals('method', $API['api_path']['method']);
|
||||||
self::assertTrue(is_callable($API['api_path']['func']));
|
self::assertTrue(is_callable($API['api_path']['func']));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue