1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 10:06:08 +02:00

Add more type hints

This commit is contained in:
Avtandil Kikabidze
2018-09-12 18:20:33 +04:00
parent 8656fb1352
commit be5c439167
4 changed files with 10 additions and 8 deletions

View File

@@ -88,7 +88,7 @@ class ElasticaHandler extends AbstractProcessingHandler
* Getter options
* @return array
*/
public function getOptions()
public function getOptions(): array
{
return $this->options;
}
@@ -115,7 +115,7 @@ class ElasticaHandler extends AbstractProcessingHandler
* @param array $documents
* @throws \RuntimeException
*/
protected function bulkSend(array $documents)
protected function bulkSend(array $documents): void
{
try {
$this->client->addDocuments($documents);