summaryrefslogtreecommitdiffstats
path: root/vendor/fgrosse/phpasn1/lib/ASN1/Composite/AttributeTypeAndValue.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/fgrosse/phpasn1/lib/ASN1/Composite/AttributeTypeAndValue.php70
1 files changed, 35 insertions, 35 deletions
diff --git a/vendor/fgrosse/phpasn1/lib/ASN1/Composite/AttributeTypeAndValue.php b/vendor/fgrosse/phpasn1/lib/ASN1/Composite/AttributeTypeAndValue.php
index 3f4027c..a80e1a3 100644
--- a/vendor/fgrosse/phpasn1/lib/ASN1/Composite/AttributeTypeAndValue.php
+++ b/vendor/fgrosse/phpasn1/lib/ASN1/Composite/AttributeTypeAndValue.php
@@ -1,35 +1,35 @@
-<?php
-/*
- * This file is part of the PHPASN1 library.
- *
- * Copyright © Friedrich Große <friedrich.grosse@gmail.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace FG\ASN1\Composite;
-
-use FG\ASN1\ASNObject;
-use FG\ASN1\Universal\Sequence;
-use FG\ASN1\Universal\ObjectIdentifier;
-
-class AttributeTypeAndValue extends Sequence
-{
- /**
- * @param ObjectIdentifier|string $objIdentifier
- * @param \FG\ASN1\ASNObject $value
- */
- public function __construct($objIdentifier, ASNObject $value)
- {
- if ($objIdentifier instanceof ObjectIdentifier == false) {
- $objIdentifier = new ObjectIdentifier($objIdentifier);
- }
- parent::__construct($objIdentifier, $value);
- }
-
- public function __toString()
- {
- return $this->children[0].': '.$this->children[1];
- }
-}
+<?php
+/*
+ * This file is part of the PHPASN1 library.
+ *
+ * Copyright © Friedrich Große <friedrich.grosse@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace FG\ASN1\Composite;
+
+use FG\ASN1\ASNObject;
+use FG\ASN1\Universal\Sequence;
+use FG\ASN1\Universal\ObjectIdentifier;
+
+class AttributeTypeAndValue extends Sequence
+{
+ /**
+ * @param ObjectIdentifier|string $objIdentifier
+ * @param \FG\ASN1\ASNObject $value
+ */
+ public function __construct($objIdentifier, ASNObject $value)
+ {
+ if ($objIdentifier instanceof ObjectIdentifier == false) {
+ $objIdentifier = new ObjectIdentifier($objIdentifier);
+ }
+ parent::__construct($objIdentifier, $value);
+ }
+
+ public function __toString()
+ {
+ return $this->children[0].': '.$this->children[1];
+ }
+}