@@ -214,6 +214,9 @@ |
||
214 | 214 | } |
215 | 215 | |
216 | 216 | |
217 | + /** |
|
218 | + * @param boolean $boolean |
|
219 | + */ |
|
217 | 220 | public function setProviderAsIndexed(IFullTextSearchProvider $provider, $boolean) { |
218 | 221 | $this->configService->setProviderOptions( |
219 | 222 | $provider->getId(), ConfigService::PROVIDER_INDEXED, (($boolean) ? '1' : '0') |
@@ -129,7 +129,7 @@ |
||
129 | 129 | /** |
130 | 130 | * @param int $status |
131 | 131 | * |
132 | - * @return bool |
|
132 | + * @return integer |
|
133 | 133 | */ |
134 | 134 | public function isStatus($status) { |
135 | 135 | return ((int)$status & $this->getStatus()); |
@@ -212,8 +212,8 @@ |
||
212 | 212 | } |
213 | 213 | |
214 | 214 | /** |
215 | - * @param $key |
|
216 | - * @param $value |
|
215 | + * @param string $key |
|
216 | + * @param string $value |
|
217 | 217 | * |
218 | 218 | * @return $this |
219 | 219 | */ |
@@ -210,7 +210,7 @@ |
||
210 | 210 | |
211 | 211 | /** |
212 | 212 | * @param string|bool $line |
213 | - * @param $isNewLine |
|
213 | + * @param boolean $isNewLine |
|
214 | 214 | * |
215 | 215 | * @return string |
216 | 216 | */ |
@@ -73,7 +73,7 @@ |
||
73 | 73 | |
74 | 74 | /** |
75 | 75 | * @param string $panelId |
76 | - * @param array $lines |
|
76 | + * @param string[] $lines |
|
77 | 77 | */ |
78 | 78 | public function createPanel($panelId, $lines) { |
79 | 79 | if (!is_array($lines)) { |
@@ -364,7 +364,7 @@ |
||
364 | 364 | * @param IndexDocument $document |
365 | 365 | * |
366 | 366 | * @return |
367 | - * @throws Exception |
|
367 | + Index @throws Exception |
|
368 | 368 | */ |
369 | 369 | public function indexDocument( |
370 | 370 | IFullTextSearchPlatform $platform, IFullTextSearchProvider $provider, $document |
@@ -89,6 +89,9 @@ discard block |
||
89 | 89 | protected $contentEncoded; |
90 | 90 | |
91 | 91 | |
92 | + /** |
|
93 | + * @param string $id |
|
94 | + */ |
|
92 | 95 | public function __construct($providerId, $id) { |
93 | 96 | $this->providerId = $providerId; |
94 | 97 | $this->id = $id; |
@@ -506,7 +509,7 @@ discard block |
||
506 | 509 | } |
507 | 510 | |
508 | 511 | /** |
509 | - * @param $excerpt |
|
512 | + * @param string $excerpt |
|
510 | 513 | * |
511 | 514 | * @return mixed |
512 | 515 | */ |
@@ -56,7 +56,6 @@ |
||
56 | 56 | * Provider constructor. |
57 | 57 | * |
58 | 58 | * @param string $appId |
59 | - * @param IFullTextSearchPlatform $platform |
|
60 | 59 | */ |
61 | 60 | public function __construct($appId, $class) { |
62 | 61 | $this->appId = $appId; |
@@ -105,8 +105,8 @@ |
||
105 | 105 | /** |
106 | 106 | * Get a version of an app |
107 | 107 | * |
108 | - * @param string $key |
|
109 | 108 | * |
109 | + * @param string $appId |
|
110 | 110 | * @return string |
111 | 111 | */ |
112 | 112 | public function getAppVersion($appId) { |