summaryrefslogtreecommitdiffstats
path: root/lib/Command
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-01-16 12:00:59 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-01-16 12:00:59 -0100
commit3a1ccc4c87450e02c968dde81a7932f5fce2d1ce (patch)
treeb8e9f213382f56ad6afa6cd34b815e8ec79f76d0 /lib/Command
parent2247e2482cb10e597a2d44438432ff7f550c0ffc (diff)
fixing var name
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Command')
-rw-r--r--lib/Command/CacheRefresh.php12
-rw-r--r--lib/Command/NoteCreate.php8
2 files changed, 10 insertions, 10 deletions
diff --git a/lib/Command/CacheRefresh.php b/lib/Command/CacheRefresh.php
index c90355a3..1ea3f9fa 100644
--- a/lib/Command/CacheRefresh.php
+++ b/lib/Command/CacheRefresh.php
@@ -46,7 +46,7 @@ class CacheRefresh extends Base {
/** @var AccountService */
- private $actorService;
+ private $accountService;
/** @var CacheActorService */
private $cacheActorService;
@@ -64,19 +64,19 @@ class CacheRefresh extends Base {
/**
* CacheUpdate constructor.
*
- * @param AccountService $actorService
+ * @param AccountService $accountService
* @param CacheActorService $cacheActorService
* @param DocumentService $documentService
* @param ConfigService $configService
* @param MiscService $miscService
*/
public function __construct(
- AccountService $actorService, CacheActorService $cacheActorService,
+ AccountService $accountService, CacheActorService $cacheActorService,
DocumentService $documentService, ConfigService $configService, MiscService $miscService
) {
parent::__construct();
- $this->actorService = $actorService;
+ $this->accountService = $accountService;
$this->cacheActorService = $cacheActorService;
$this->documentService = $documentService;
$this->configService = $configService;
@@ -102,10 +102,10 @@ class CacheRefresh extends Base {
*/
protected function execute(InputInterface $input, OutputInterface $output) {
- $result = $this->actorService->blindKeyRotation();
+ $result = $this->accountService->blindKeyRotation();
$output->writeLn($result . ' key pairs refreshed');
- $result = $this->actorService->manageCacheLocalActors();
+ $result = $this->accountService->manageCacheLocalActors();
$output->writeLn($result . ' local accounts regenerated');
$result = $this->cacheActorService->missingCacheRemoteActors();
diff --git a/lib/Command/NoteCreate.php b/lib/Command/NoteCreate.php
index 14216ea8..5b12d52b 100644
--- a/lib/Command/NoteCreate.php
+++ b/lib/Command/NoteCreate.php
@@ -54,7 +54,7 @@ class NoteCreate extends Base {
private $activityService;
/** @var AccountService */
- private $actorService;
+ private $accountService;
/** @var PostService */
private $postService;
@@ -70,21 +70,21 @@ class NoteCreate extends Base {
* NoteCreate constructor.
*
* @param ActivityService $activityService
- * @param AccountService $actorService
+ * @param AccountService $accountService
* @param PostService $postService
* @param CurlService $curlService
* @param ConfigService $configService
* @param MiscService $miscService
*/
public function __construct(
- ActivityService $activityService, AccountService $actorService,
+ ActivityService $activityService, AccountService $accountService,
PostService $postService, CurlService $curlService,
ConfigService $configService, MiscService $miscService
) {
parent::__construct();
$this->activityService = $activityService;
- $this->actorService = $actorService;
+ $this->accountService = $accountService;
$this->postService = $postService;
$this->curlService = $curlService;
$this->configService = $configService;