mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
Type hints
This commit is contained in:
parent
db16f1a106
commit
52d8b618f0
3 changed files with 10 additions and 4 deletions
|
@ -211,7 +211,13 @@ class Delivery extends BaseObject
|
|||
return;
|
||||
}
|
||||
|
||||
private static function setFailedQueue($cmd, $id)
|
||||
/**
|
||||
* Increased the "failed" counter in the item delivery data
|
||||
*
|
||||
* @param string $cmd Command
|
||||
* @param integer $id Item id
|
||||
*/
|
||||
private static function setFailedQueue(string $cmd, int $id)
|
||||
{
|
||||
if (!in_array($cmd, [Delivery::POST, Delivery::POKE])) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue