mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 09:32:24 -04:00
Add Safe PHP functions
This commit is contained in:
parent
04a956886a
commit
58cc098058
260 changed files with 49458 additions and 45 deletions
22
vendor/thecodingmachine/safe/generated/solr.php
vendored
Normal file
22
vendor/thecodingmachine/safe/generated/solr.php
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace Safe;
|
||||
|
||||
use Safe\Exceptions\SolrException;
|
||||
|
||||
/**
|
||||
* This function returns the current version of the extension as a string.
|
||||
*
|
||||
* @return string It returns a string on success.
|
||||
* @throws SolrException
|
||||
*
|
||||
*/
|
||||
function solr_get_version(): string
|
||||
{
|
||||
error_clear_last();
|
||||
$result = \solr_get_version();
|
||||
if ($result === false) {
|
||||
throw SolrException::createFromPhpError();
|
||||
}
|
||||
return $result;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue