diff options
Diffstat (limited to 'apps/sharebymail/lib/Activity.php')
-rw-r--r-- | apps/sharebymail/lib/Activity.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/sharebymail/lib/Activity.php b/apps/sharebymail/lib/Activity.php index 79d7028afcf..23f036c4700 100644 --- a/apps/sharebymail/lib/Activity.php +++ b/apps/sharebymail/lib/Activity.php @@ -288,24 +288,24 @@ class Activity implements IProvider { case self::SUBJECT_SHARED_EMAIL_SELF: case self::SUBJECT_UNSHARED_EMAIL_SELF: return [ - 'file' => $this->generateFileParameter((int) $event->getObjectId(), $parameters[0]), + 'file' => $this->generateFileParameter($event->getObjectId(), $parameters[0]), 'email' => $this->generateEmailParameter($parameters[1]), ]; case self::SUBJECT_SHARED_EMAIL_BY: case self::SUBJECT_UNSHARED_EMAIL_BY: return [ - 'file' => $this->generateFileParameter((int) $event->getObjectId(), $parameters[0]), + 'file' => $this->generateFileParameter($event->getObjectId(), $parameters[0]), 'email' => $this->generateEmailParameter($parameters[1]), 'actor' => $this->generateUserParameter($parameters[2]), ]; case self::SUBJECT_SHARED_EMAIL_PASSWORD_SEND: return [ - 'file' => $this->generateFileParameter((int) $event->getObjectId(), $parameters[0]), + 'file' => $this->generateFileParameter($event->getObjectId(), $parameters[0]), 'email' => $this->generateEmailParameter($parameters[1]), ]; case self::SUBJECT_SHARED_EMAIL_PASSWORD_SEND_SELF: return [ - 'file' => $this->generateFileParameter((int) $event->getObjectId(), $parameters[0]), + 'file' => $this->generateFileParameter($event->getObjectId(), $parameters[0]), ]; } throw new \InvalidArgumentException(); |