Skip to content

Commit 46ad0a3

Browse files
committed
adding probeCircle/probeCircles
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent a1654e0 commit 46ad0a3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/stub.phpstub

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ namespace OCA\Circles\Model\Probes {
9999
public function __construct() {}
100100
public function mustBeMember(bool $must = true): self {}
101101
}
102+
class DataProbe {
103+
public const OWNER = 'd';
104+
public const INITIATOR = 'h';
105+
public function __construct() {}
106+
public function add(string $key, array $path = []): self {}
107+
public function mustBeMember(bool $must = true): self {}
108+
}
102109
}
103110

104111
namespace OCA\Circles {
@@ -110,6 +117,8 @@ namespace OCA\Circles {
110117
public function startSession(?FederatedUser $federatedUser = null): void {}
111118
public function getCircles(?CircleProbe $probe = null): array {}
112119
public function getCircle(string $singleId, ?CircleProbe $probe = null): Circle {}
120+
public function probeCircles(?CircleProbe $circleProbe = null, ?DataProbe $dataProbe = null): array {}
121+
public function probeCircle(string $singleId, ?CircleProbe $probe = null, ?DataProbe $dataProbe = null): Circle {}
113122
public function getFederatedUser(string $federatedId, int $type = Member::TYPE_SINGLE): FederatedUser {}
114123
}
115124
}

0 commit comments

Comments
 (0)