diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 19daff87..e8c001aa 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -3132,9 +3132,9 @@ class File_X509 { $year = @gmdate("Y", @strtotime($date)); // the same way ASN1.php parses this if ($year < 2050) { - return Array('utcTime' => $date); + return array('utcTime' => $date); } else { - return Array('generalTime' => $date); + return array('generalTime' => $date); } }