Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 17... Línea 17...
17
    protected $token;
17
    protected $token;
Línea 18... Línea 18...
18
 
18
 
19
    /**
19
    /**
20
     * @param string    $msg
20
     * @param string    $msg
21
     * @param array     $token
21
     * @param array     $token
22
     * @param Exception $previous
22
     * @param ?Exception $previous
23
     */
23
     */
24
    public function __construct($msg, array $token, Exception $previous = null)
24
    public function __construct($msg, array $token, ?Exception $previous = null)
25
    {
25
    {
26
        $this->token = $token;
26
        $this->token = $token;
27
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
27
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28
            parent::__construct($msg, 0, $previous);
28
            parent::__construct($msg, 0, $previous);