Skip to content

Commit 33eaca7

Browse files
committed
chore: drop support to PHP Native engine
It's icompatible with Nextcloud 32 Signed-off-by: Vitor Mattos <[email protected]>
1 parent bd149d0 commit 33eaca7

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

lib/Handler/SignEngine/Pkcs12Handler.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -495,12 +495,10 @@ private function der2pem($derData) {
495495
}
496496

497497
private function getHandler(): SignEngineHandler {
498-
$property = 'jSignPdfHandler';
499-
$classHandler = JSignPdfHandler::class;
500-
if (!$this->$property instanceof $classHandler) {
501-
$this->$property = \OCP\Server::get($classHandler);
498+
if (!$this->jSignPdfHandler instanceof JSignPdfHandler) {
499+
$this->jSignPdfHandler = \OCP\Server::get(JSignPdfHandler::class);
502500
}
503-
return $this->$property;
501+
return $this->jSignPdfHandler;
504502
}
505503

506504
#[\Override]

0 commit comments

Comments
 (0)