Skip to content

Commit

Permalink
Linted the files
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrudeau-stripe committed Dec 11, 2020
1 parent 2c3fbc4 commit 8ab909d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ private function serializeAdditionalOwners($legalEntity, $additionalOwners)
$update = ($v instanceof StripeObject) ? $v->serializeParameters() : $v;

if ([] !== $update) {
if (!$originalValue ||
!\array_key_exists($i, $originalValue) ||
($update !== $legalEntity->serializeParamsValue($originalValue[$i], null, false, true))) {
if (!$originalValue
|| !\array_key_exists($i, $originalValue)
|| ($update !== $legalEntity->serializeParamsValue($originalValue[$i], null, false, true))) {
$updateArr[$i] = $update;
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/EphemeralKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ class EphemeralKey extends ApiResource
{
const OBJECT_NAME = 'ephemeral_key';

use ApiOperations\Delete;

use ApiOperations\Create {
create as protected _create;
}

use ApiOperations\Delete;

/**
* @param null|array $params
* @param null|array|string $opts
Expand Down

0 comments on commit 8ab909d

Please sign in to comment.