@@ -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 | */ |
@@ -84,6 +84,9 @@ discard block |
||
| 84 | 84 | public $contentEncoded; |
| 85 | 85 | |
| 86 | 86 | |
| 87 | + /** |
|
| 88 | + * @param string $id |
|
| 89 | + */ |
|
| 87 | 90 | public function __construct($providerId, $id) { |
| 88 | 91 | $this->providerId = $providerId; |
| 89 | 92 | $this->id = $id; |
@@ -424,7 +427,7 @@ discard block |
||
| 424 | 427 | } |
| 425 | 428 | |
| 426 | 429 | /** |
| 427 | - * @param $excerpt |
|
| 430 | + * @param string $excerpt |
|
| 428 | 431 | * |
| 429 | 432 | * @return mixed |
| 430 | 433 | */ |
@@ -214,6 +214,11 @@ discard block |
||
| 214 | 214 | $this->infoUpdated(); |
| 215 | 215 | } |
| 216 | 216 | |
| 217 | + /** |
|
| 218 | + * @param string $info |
|
| 219 | + * @param string $value |
|
| 220 | + * @param string $colored |
|
| 221 | + */ |
|
| 217 | 222 | private function setInfoColored($info, $value, $colored) { |
| 218 | 223 | if ($colored === '') { |
| 219 | 224 | return; |
@@ -257,7 +262,7 @@ discard block |
||
| 257 | 262 | } |
| 258 | 263 | |
| 259 | 264 | /** |
| 260 | - * @param $key |
|
| 265 | + * @param string $key |
|
| 261 | 266 | */ |
| 262 | 267 | public function keyPressed($key) { |
| 263 | 268 | foreach ($this->methodOnKeyPress as $method) { |
@@ -339,7 +344,7 @@ discard block |
||
| 339 | 344 | |
| 340 | 345 | |
| 341 | 346 | /** |
| 342 | - * @param $tick |
|
| 347 | + * @param integer $tick |
|
| 343 | 348 | */ |
| 344 | 349 | private function updateTick($tick) { |
| 345 | 350 | if (($this->ramTick + self::INFO_UPDATE) > $tick) { |
@@ -353,8 +358,8 @@ discard block |
||
| 353 | 358 | |
| 354 | 359 | /** |
| 355 | 360 | * @deprecated - verifier l'interet !? |
| 356 | - * @param $reason |
|
| 357 | - * @param $stop |
|
| 361 | + * @param string $reason |
|
| 362 | + * @param boolean $stop |
|
| 358 | 363 | */ |
| 359 | 364 | public function exception($reason, $stop) { |
| 360 | 365 | if (!$stop) { |
@@ -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 |