@@ -150,6 +150,9 @@ |
||
150 | 150 | return "-----BEGIN {$type}-----\n{$pem}-----END {$type}-----\n"; |
151 | 151 | } |
152 | 152 | |
153 | + /** |
|
154 | + * @param \Closure $callable |
|
155 | + */ |
|
153 | 156 | protected function guardAgainstUserErrorsFromPhpSeclib($callable) |
154 | 157 | { |
155 | 158 | set_error_handler(function ($errno, $errstr, $errfile, $errline) { |