From 688d13721815b42ca399a41d8d237c01dedd0473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dezs=C5=91=20Bicz=C3=B3?= Date: Wed, 9 May 2018 20:40:48 +0200 Subject: [PATCH] Remove incorrect usage of companyName. --- .../Controller/DeveloperAppCredentialController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Api/Management/Controller/DeveloperAppCredentialController.php b/src/Api/Management/Controller/DeveloperAppCredentialController.php index e6f75b4c..6cd26743 100644 --- a/src/Api/Management/Controller/DeveloperAppCredentialController.php +++ b/src/Api/Management/Controller/DeveloperAppCredentialController.php @@ -27,7 +27,7 @@ class DeveloperAppCredentialController extends AppCredentialController implements DeveloperAppCredentialControllerInterface { /** @var string Developer email or id. */ - protected $companyName; + protected $developerId; /** @var string App name. */ protected $appName; @@ -48,7 +48,7 @@ public function __construct( ClientInterface $client, array $entityNormalizers = [] ) { - $this->companyName = $developerId; + $this->developerId = $developerId; parent::__construct($organization, $appName, $client, $entityNormalizers); } @@ -57,7 +57,7 @@ public function __construct( */ protected function getBaseEndpointUri(): UriInterface { - return $this->client->getUriFactory()->createUri("/organizations/{$this->organization}/developers/{$this->companyName}/apps/{$this->appName}"); + return $this->client->getUriFactory()->createUri("/organizations/{$this->organization}/developers/{$this->developerId}/apps/{$this->appName}"); } /**