mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
Update comments
This commit is contained in:
parent
91ac7ba018
commit
d7965a01b8
302 changed files with 56587 additions and 763 deletions
12
vendor/thecodingmachine/safe/lib/Exceptions/OpensslException.php
vendored
Normal file
12
vendor/thecodingmachine/safe/lib/Exceptions/OpensslException.php
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
|
||||
namespace Safe\Exceptions;
|
||||
|
||||
class OpensslException extends \Exception implements SafeExceptionInterface
|
||||
{
|
||||
public static function createFromPhpError(): self
|
||||
{
|
||||
return new self(\openssl_error_string() ?: '', 0);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue