Skip to content

Commit 348ff3f

Browse files
authored
Merge pull request #1026 from sebastianneubert/patch-1
typo
2 parents 00ce0c6 + 67ecbc4 commit 348ff3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/transport/amqp_lib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ It is not possible to implement heartbeat feature in PHP, due to its synchronous
292292
You could read more about the issues in post: [Keeping RabbitMQ connections alive in PHP](https://blog.mollie.com/keeping-rabbitmq-connections-alive-in-php-b11cb657d5fb).
293293

294294
`enqueue/amqp-lib` address the issue by registering heartbeat call as a [tick callbacks](http://php.net/manual/en/function.register-tick-function.php).
295-
To make it work you have to wrapp your long running task by `decalre(ticks=1) {}`.
295+
To make it work you have to wrapp your long running task by `declare(ticks=1) {}`.
296296
The number of ticks could be adjusted to your needs.
297297
Calling it at every tick is not good.
298298

0 commit comments

Comments
 (0)