1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 10:38:12 +01:00

added missing use statement

PHPDOC fix
This commit is contained in:
Sokolovskyy Roman 2017-08-03 09:12:56 +02:00
parent 5fe61b325d
commit 0c6d8607ce

View File

@ -26,6 +26,7 @@ namespace phpseclib\File;
use ParagonIE\ConstantTime\Base64; use ParagonIE\ConstantTime\Base64;
use phpseclib\File\ASN1\Element; use phpseclib\File\ASN1\Element;
use phpseclib\Math\BigInteger; use phpseclib\Math\BigInteger;
use phpseclib\Common\Functions\Strings;
/** /**
* Pure-PHP ASN.1 Parser * Pure-PHP ASN.1 Parser
@ -248,7 +249,7 @@ abstract class ASN1
* @param string $encoded * @param string $encoded
* @param int $start * @param int $start
* @param int $encoded_pos * @param int $encoded_pos
* @return array * @return array|bool
* @access private * @access private
*/ */
private static function decode_ber($encoded, $start = 0, $encoded_pos = 0) private static function decode_ber($encoded, $start = 0, $encoded_pos = 0)
@ -513,7 +514,7 @@ abstract class ASN1
* @param array $decoded * @param array $decoded
* @param array $mapping * @param array $mapping
* @param array $special * @param array $special
* @return array * @return array|bool|Element
* @access public * @access public
*/ */
public static function asn1map($decoded, $mapping, $special = []) public static function asn1map($decoded, $mapping, $special = [])
@ -826,7 +827,7 @@ abstract class ASN1
* ASN.1 Encode (Helper function) * ASN.1 Encode (Helper function)
* *
* @param string $source * @param string $source
* @param string $mapping * @param array $mapping
* @param int $idx * @param int $idx
* @return string * @return string
* @throws \RuntimeException if the input has an error in it * @throws \RuntimeException if the input has an error in it