Skip to content

Commit 474079e

Browse files
committed
travis fulfill
1 parent 990b0cb commit 474079e

1 file changed

Lines changed: 3 additions & 20 deletions

File tree

src/RevocationValues.php

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -55,32 +55,15 @@ public static function sequenceFromOCSPResponse(?BasicOCSPResponse $basicOCSPRes
5555
if (!is_null($certificateList)) {
5656
$binary = $certificateList->getBinary();
5757

58-
$values[] = ExplicitlyTaggedObject::create(0,
59-
Sequence::create([
60-
Sequence::fromBinary($binary),
61-
]
62-
)
63-
);
58+
$values[] = ExplicitlyTaggedObject::create(0, Sequence::create([Sequence::fromBinary($binary)]));
6459
}
6560

6661
if (!is_null($basicOCSPResponse)) {
6762
$binary = $basicOCSPResponse->getBinary();
6863

69-
$values[] = ExplicitlyTaggedObject::create(1,
70-
Sequence::create([
71-
Sequence::fromBinary($binary),
72-
]
73-
)
74-
);
64+
$values[] = ExplicitlyTaggedObject::create(1, Sequence::create([Sequence::fromBinary($binary)]));
7565
}
7666

77-
return Sequence::create([
78-
ObjectIdentifier::create(\Adapik\CMS\RevocationValues::getOid()),
79-
Set::create([
80-
Sequence::create($values),
81-
]
82-
),
83-
]
84-
);
67+
return Sequence::create([ObjectIdentifier::create(\Adapik\CMS\RevocationValues::getOid()), Set::create([Sequence::create($values)]),]);
8568
}
8669
}

0 commit comments

Comments
 (0)