mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-11 07:24:26 +02:00
Fix 7 PHPStan errors
This commit is contained in:
parent
0b162b4429
commit
4ebabd5997
6 changed files with 20 additions and 12 deletions
|
@ -170,9 +170,8 @@ class Delayed
|
|||
* @param array $attachments
|
||||
* @param int $preparation_mode
|
||||
* @param string $uri
|
||||
* @return bool
|
||||
*/
|
||||
public static function publish(array $item, int $notify = 0, array $taglist = [], array $attachments = [], int $preparation_mode = self::PREPARED, string $uri = '')
|
||||
public static function publish(array $item, int $notify = 0, array $taglist = [], array $attachments = [], int $preparation_mode = self::PREPARED, string $uri = ''): int
|
||||
{
|
||||
if (!empty($attachments)) {
|
||||
$item['attachments'] = $attachments;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue