@@ -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 |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | } |
279 | 279 | |
280 | 280 | /** |
281 | - * @param $key |
|
281 | + * @param string $key |
|
282 | 282 | */ |
283 | 283 | public function keyPressed($key) { |
284 | 284 | foreach ($this->methodOnKeyPress as $method) { |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | |
372 | 372 | |
373 | 373 | /** |
374 | - * @param $tick |
|
374 | + * @param integer $tick |
|
375 | 375 | */ |
376 | 376 | private function updateTick($tick) { |
377 | 377 | if (($this->ramTick + self::MEMORY_INFO_UPDATE) > $tick) { |
@@ -386,8 +386,8 @@ discard block |
||
386 | 386 | /** |
387 | 387 | * @deprecated - verifier l'interet !? |
388 | 388 | * |
389 | - * @param $reason |
|
390 | - * @param $stop |
|
389 | + * @param string $reason |
|
390 | + * @param boolean $stop |
|
391 | 391 | */ |
392 | 392 | public function exception($reason, $stop) { |
393 | 393 | if (!$stop) { |
@@ -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; |