Skip to content

Commit

Permalink
Merge pull request #47 from daaner/analysis-Q3DOkw
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
daaner authored Nov 7, 2022
2 parents b60ede4 + 8cd4cb3 commit 1e86463
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions src/Models/AdditionalService.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,13 @@ public function save(string $ttn, ?string $ownerDocumentType = 'orderCargoReturn

if ($this->BackwardRedeliveryString) {
$this->methodProperties['BackwardDeliveryData'][] = [
"PayerType" => "Recipient",
"CargoType" => "Money",
"Description" => $this->BackwardRedeliveryString,
'PayerType' => 'Recipient',
'CargoType' => 'Money',
'Description' => $this->BackwardRedeliveryString,
];
} else {
$this->methodProperties['BackwardDeliveryData'] = [];
}

}

// Доп поля, если переадресация / возврат
Expand Down Expand Up @@ -260,8 +259,8 @@ public function saveAddTerm(string $ttn): array
*
* @since 2022-11-07
*
* @param string $ttn Номер ТТН
* @param string $RedeliveryString Новая сумма или 0
* @param string $ttn Номер ТТН
* @param string $RedeliveryString Новая сумма или 0
* @return array
*/
public function saveChangeCash(string $ttn, string $RedeliveryString): array
Expand Down
4 changes: 2 additions & 2 deletions src/Models/CommonGeneral.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function deleteTrustedDevice(string $Ref): array
*
* @since 2022-11-07 НЕ ДОКУМЕНТИРОВАНО
*
* @param string|null $MarketplacePartnerToken
* @param string|null $MarketplacePartnerToken
* @return array
*/
public function createApiKey(?string $MarketplacePartnerToken = null): array
Expand All @@ -120,7 +120,7 @@ public function createApiKey(?string $MarketplacePartnerToken = null): array
*
* @since 2022-11-07 НЕ ДОКУМЕНТИРОВАНО
*
* @param string $ApiKey
* @param string $ApiKey
* @return array
*/
public function deleteApiKey(string $ApiKey): array
Expand Down

0 comments on commit 1e86463

Please sign in to comment.