@@ -24,7 +24,6 @@ |
||
24 | 24 | * Get by access token |
25 | 25 | * |
26 | 26 | * @param string $id |
27 | - * @param string $access_token |
|
28 | 27 | * @return Session |
29 | 28 | */ |
30 | 29 | protected function parseId(string $id): ObjectId |
@@ -67,7 +67,7 @@ |
||
67 | 67 | * @param Document $document |
68 | 68 | * @param int $ttl |
69 | 69 | * @param array $session |
70 | - * @return void |
|
70 | + * @return Member |
|
71 | 71 | */ |
72 | 72 | public function __construct(Filesystem $fs, Document $document, int $ttl=3600, $session=[]) |
73 | 73 | { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * @param User $user |
61 | 61 | * @param int $ttl |
62 | 62 | * @param Session $session |
63 | - * @return void |
|
63 | + * @return Member |
|
64 | 64 | */ |
65 | 65 | public function __construct(User $user, $ttl=3600, ?Session $session=null) |
66 | 66 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * Authenticate |
64 | 64 | * |
65 | - * @param array|AdapterInterface|Config $adapters |
|
65 | + * @param Config $adapters |
|
66 | 66 | * @return bool |
67 | 67 | */ |
68 | 68 | public function requireOne($adapters): bool |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | /** |
291 | 291 | * Get attribute sync cache |
292 | 292 | * |
293 | - * @return array |
|
293 | + * @return integer |
|
294 | 294 | */ |
295 | 295 | public function getAttributeSyncCache(): int |
296 | 296 | { |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * Set options |
69 | 69 | * |
70 | 70 | * @param Iterable |
71 | - * @return Ldap |
|
71 | + * @return Db |
|
72 | 72 | */ |
73 | 73 | public function setOptions(?Iterable $config): Db |
74 | 74 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Initialize |
29 | 29 | * |
30 | - * @param Iterable $config |
|
30 | + * @param Config $config |
|
31 | 31 | * @param Logger $logger |
32 | 32 | * @return void |
33 | 33 | */ |
@@ -93,7 +93,6 @@ |
||
93 | 93 | * Init bootstrap |
94 | 94 | * |
95 | 95 | * @param Composer $composer |
96 | - * @param Config $router |
|
97 | 96 | * @return void |
98 | 97 | */ |
99 | 98 | public function __construct(Composer $composer, Config $config) |
@@ -138,7 +138,7 @@ |
||
138 | 138 | /** |
139 | 139 | * Set error handler |
140 | 140 | * |
141 | - * @return Core |
|
141 | + * @return AbstractCore |
|
142 | 142 | */ |
143 | 143 | protected function setErrorHandler() |
144 | 144 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * Get entire simplexml |
31 | 31 | * |
32 | - * @return mixed |
|
32 | + * @return \SimpleXMLElement |
|
33 | 33 | */ |
34 | 34 | public function getRaw(); |
35 | 35 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * Get from config |
39 | 39 | * |
40 | 40 | * @param string $name |
41 | - * @return mixed |
|
41 | + * @return \SimpleXMLElement |
|
42 | 42 | */ |
43 | 43 | public function __get(string $name); |
44 | 44 | |
@@ -55,7 +55,6 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * Get native config format as config instance |
57 | 57 | * |
58 | - * @param mixed $config |
|
59 | 58 | * @return Config |
60 | 59 | */ |
61 | 60 | public function map($native=null): Config; |