summaryrefslogtreecommitdiffstats
path: root/lib/Service/BoostService.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-04-23 10:43:41 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-05-03 16:31:15 -0100
commit9b0fcf7d70aee638f92057c5f56692534311f92b (patch)
tree562d7928c9dbe2dcc6fb7db52d50d932f1c313b1 /lib/Service/BoostService.php
parenta27ea99ff3ae7898c4e2cac394a45d95b2c6b3c9 (diff)
fixing some token issues
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service/BoostService.php')
-rw-r--r--lib/Service/BoostService.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/BoostService.php b/lib/Service/BoostService.php
index dfd53a0a..60e3b4c0 100644
--- a/lib/Service/BoostService.php
+++ b/lib/Service/BoostService.php
@@ -112,7 +112,7 @@ class BoostService {
* @throws SocialAppConfigException
* @throws Exception
*/
- public function create(Person $actor, string $postId, string &$token = ''): ACore {
+ public function create(Person $actor, string $postId, &$token = ''): ACore {
try {
return $this->get($actor, $postId);
@@ -169,7 +169,7 @@ class BoostService {
* @throws NoteNotFoundException
* @throws SocialAppConfigException
*/
- public function delete(Person $actor, string $postId, string &$token = ''): ACore {
+ public function delete(Person $actor, string $postId, &$token = ''): ACore {
$undo = new Undo();
$this->noteService->assignItem($undo, $actor, Stream::TYPE_PUBLIC);
$undo->setActor($actor);