@@ -33,13 +33,13 @@ |
||
33 | 33 | */ |
34 | 34 | abstract class AnyType |
35 | 35 | { |
36 | - /** |
|
37 | - * |
|
38 | - * Add attribute to the given element. |
|
39 | - * |
|
40 | - * The data type are responsible to add the given attribute, content child |
|
41 | - * to the Element. |
|
42 | - * |
|
43 | - */ |
|
36 | + /** |
|
37 | + * |
|
38 | + * Add attribute to the given element. |
|
39 | + * |
|
40 | + * The data type are responsible to add the given attribute, content child |
|
41 | + * to the Element. |
|
42 | + * |
|
43 | + */ |
|
44 | 44 | abstract public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null); |
45 | 45 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | // only for php7.0 |
41 | 41 | $data = random_bytes(16); |
42 | 42 | |
43 | - //assert(strlen($data) == 16); |
|
43 | + //assert(strlen($data) == 16); |
|
44 | 44 | |
45 | 45 | $data[6] = chr(ord($data[6]) & 0x0f | 0x40); // set version to 0100 |
46 | 46 | $data[8] = chr(ord($data[8]) & 0x3f | 0x80); // set bits 6-7 to 10 |