Skip to content

Commit

Permalink
Merge 19027ba into 4a8c8e5
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse committed Feb 28, 2019
2 parents 4a8c8e5 + 19027ba commit e70b52f
Show file tree
Hide file tree
Showing 72 changed files with 594 additions and 534 deletions.
10 changes: 5 additions & 5 deletions generated/apache.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Fetch the Apache version.
*
* @return string Returns the Apache version on success .
* @return string Returns the Apache version on success.
* @throws ApacheException
*
*/
Expand All @@ -30,7 +30,7 @@ function apache_get_version(): string
*
* @param string $variable The Apache environment variable
* @param bool $walk_to_top Whether to get the top-level variable available to all Apache layers.
* @return string The value of the Apache environment variable on success,
* @return string The value of the Apache environment variable on success
* @throws ApacheException
*
*/
Expand All @@ -48,7 +48,7 @@ function apache_getenv(string $variable, bool $walk_to_top = false): string
/**
* Fetches all HTTP request headers from the current request.
*
* @return array An associative array of all the HTTP headers in the current request, .
* @return array An associative array of all the HTTP headers in the current request.
* @throws ApacheException
*
*/
Expand Down Expand Up @@ -88,7 +88,7 @@ function apache_reset_timeout(): void
/**
* Fetch all HTTP response headers.
*
* @return array An array of all Apache response headers on success .
* @return array An array of all Apache response headers on success.
* @throws ApacheException
*
*/
Expand Down Expand Up @@ -131,7 +131,7 @@ function apache_setenv(string $variable, string $value, bool $walk_to_top = fals
* Please read the apache_request_headers
* documentation for more information on how this function works.
*
* @return array An associative array of all the HTTP headers in the current request, .
* @return array An associative array of all the HTTP headers in the current request.
* @throws ApacheException
*
*/
Expand Down
10 changes: 4 additions & 6 deletions generated/apc.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function apc_cas(string $key, int $old, int $new): void
* @param string $filename Full or relative path to a PHP file that will be compiled and stored in
* the bytecode cache.
* @param bool $atomic
* @return mixed Returns TRUE on success .
* @return mixed Returns TRUE on success.
* @throws ApcException
*
*/
Expand All @@ -84,8 +84,7 @@ function apc_compile_file(string $filename, bool $atomic = true)
* @param int $step The step, or value to decrease.
* @param bool $success Optionally pass the success or fail boolean value to
* this referenced variable.
* @return int Returns the current value of key's value on success,
*
* @return int Returns the current value of key's value on success
* @throws ApcException
*
*/
Expand Down Expand Up @@ -139,7 +138,7 @@ function apc_define_constants(string $key, array $constants, bool $case_sensitiv
* @param mixed $keys The files to be deleted. Accepts a string,
* array of strings, or an APCIterator
* object.
* @return mixed Returns TRUE on success .
* @return mixed Returns TRUE on success.
* Or if keys is an array, then
* an empty array is returned on success, or an array of failed files
* is returned.
Expand Down Expand Up @@ -183,8 +182,7 @@ function apc_delete(string $key)
* @param int $step The step, or value to increase.
* @param bool $success Optionally pass the success or fail boolean value to
* this referenced variable.
* @return int Returns the current value of key's value on success,
*
* @return int Returns the current value of key's value on success
* @throws ApcException
*
*/
Expand Down
8 changes: 3 additions & 5 deletions generated/apcu.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ function apcu_cas(string $key, int $old, int $new): void
* @param int $step The step, or value to decrease.
* @param bool $success Optionally pass the success or fail boolean value to
* this referenced variable.
* @return int Returns the current value of key's value on success,
*
* @return int Returns the current value of key's value on success
* @throws ApcuException
*
*/
Expand All @@ -76,7 +75,7 @@ function apcu_dec(string $key, int $step = 1, ?bool &$success = null): int
* string for a single key,
* or as an array of strings for several keys,
* or as an APCUIterator object.
* @return bool|array Returns TRUE on success .
* @return bool|array Returns TRUE on success.
* @throws ApcuException
*
*/
Expand All @@ -97,8 +96,7 @@ function apcu_delete($key): void
* @param int $step The step, or value to increase.
* @param bool $success Optionally pass the success or fail boolean value to
* this referenced variable.
* @return int Returns the current value of key's value on success,
*
* @return int Returns the current value of key's value on success
* @throws ApcuException
*
*/
Expand Down
8 changes: 4 additions & 4 deletions generated/bzip2.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @param resource $bz The file pointer. It must be valid and must point to a file
* successfully opened by bzopen.
* @return int Returns TRUE on success .
* @return int Returns TRUE on success.
* @throws Bzip2Exception
*
*/
Expand All @@ -30,7 +30,7 @@ function bzclose($bz): int
*
* @param resource $bz The file pointer. It must be valid and must point to a file
* successfully opened by bzopen.
* @return int Returns TRUE on success .
* @return int Returns TRUE on success.
* @throws Bzip2Exception
*
*/
Expand All @@ -55,7 +55,7 @@ function bzflush($bz): void
* @param int $length If not specified, bzread will read 1024
* (uncompressed) bytes at a time. A maximum of 8192
* uncompressed bytes will be read at a time.
* @return string Returns the uncompressed data, .
* @return string Returns the uncompressed data.
* @throws Bzip2Exception
*
*/
Expand All @@ -80,7 +80,7 @@ function bzread($bz, int $length = 1024): string
* @param int $length If supplied, writing will stop after length
* (uncompressed) bytes have been written or the end of
* data is reached, whichever comes first.
* @return int Returns the number of bytes written, .
* @return int Returns the number of bytes written.
* @throws Bzip2Exception
*
*/
Expand Down
8 changes: 4 additions & 4 deletions generated/com.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@ function com_event_sink(variant $comobject, object $sinkobject, $sinkinterface =
*
* The type library name, e.g. Microsoft OLE DB ActiveX Data
* Objects 1.0 Library.
* @param int $case_insensitive The case_insensitive behaves in the same way as
* the parameter with the same name in the define
* @param bool $case_sensitive The case_sensitive behaves inversely to
* the parameter $case_insensitive in the define
* function.
* @throws ComException
*
*/
function com_load_typelib(string $typelib_name, bool $case_insensitive = true): void
function com_load_typelib(string $typelib_name, bool $case_sensitive = true): void
{
error_clear_last();
$result = \com_load_typelib($typelib_name, $case_insensitive);
$result = \com_load_typelib($typelib_name, $case_sensitive);
if ($result === false) {
throw ComException::createFromPhpError();
}
Expand Down
4 changes: 2 additions & 2 deletions generated/cubrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/**
* This function frees the memory occupied by the result data. It returns
* TRUE on success . Note that it can only frees the
* TRUE on success. Note that it can only frees the
* client fetch buffer now, and if you want free all memory, use function
* cubrid_close_request.
*
Expand Down Expand Up @@ -219,7 +219,7 @@ function cubrid_get_server_info($conn_identifier): string
* The cubrid_insert_id function retrieves the ID
* generated for the AUTO_INCREMENT column which is updated by the previous
* INSERT query. It returns 0 if the previous query does not generate new
* rows, .
* rows.
*
* @param resource $conn_identifier The connection identifier previously obtained by a call to
* cubrid_connect.
Expand Down
14 changes: 6 additions & 8 deletions generated/curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @param resource $ch A cURL handle returned by
* curl_init.
* @param string $str The string to be encoded.
* @return string Returns escaped string .
* @return string Returns escaped string.
* @throws CurlException
*
*/
Expand All @@ -33,7 +33,7 @@ function curl_escape($ch, string $str): string
*
* @param resource $ch A cURL handle returned by
* curl_init.
* @return bool|string Returns TRUE on success . However, if the CURLOPT_RETURNTRANSFER
* @return bool|string Returns TRUE on success. However, if the CURLOPT_RETURNTRANSFER
* option is set, it will return
* the result on success, FALSE on failure.
* @throws CurlException
Expand Down Expand Up @@ -279,7 +279,7 @@ function curl_exec($ch)
*
* @return mixed If opt is given, returns its value.
* Otherwise, returns an associative array with the following elements
* (which correspond to opt), :
* (which correspond to opt):
*
*
*
Expand Down Expand Up @@ -468,8 +468,7 @@ function curl_init(string $url = null)
*
* @param resource $mh A cURL multi handle returned by
* curl_multi_init.
* @return int Return an integer containing the last multi curl error number,
* .
* @return int Return an integer containing the last multi curl error number.
* @throws CurlException
*
*/
Expand Down Expand Up @@ -2430,8 +2429,7 @@ function curl_setopt($ch, int $option, $value): void
* Return an integer containing the last share curl error number.
*
* @param resource $sh A cURL share handle returned by curl_share_init.
* @return int Returns an integer containing the last share curl error number,
* .
* @return int Returns an integer containing the last share curl error number.
* @throws CurlException
*
*/
Expand Down Expand Up @@ -2527,7 +2525,7 @@ function curl_share_setopt($sh, int $option, string $value): void
* @param resource $ch A cURL handle returned by
* curl_init.
* @param string $str The URL encoded string to be decoded.
* @return string Returns decoded string .
* @return string Returns decoded string.
* @throws CurlException
*
*/
Expand Down
14 changes: 7 additions & 7 deletions generated/datetime.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function date_parse_from_format(string $format, string $date): array
*
* @param string $date Date in format accepted by strtotime.
* @return array Returns array with information about the parsed date
* on success .
* on success.
* @throws DatetimeException
*
*/
Expand All @@ -50,7 +50,7 @@ function date_parse(string $date): array
* @param int $time Timestamp.
* @param float $latitude Latitude in degrees.
* @param float $longitude Longitude in degrees.
* @return array Returns array on success .
* @return array Returns array on success.
* The structure of the array is detailed in the following list:
*
*
Expand Down Expand Up @@ -226,7 +226,7 @@ function date_sun_info(int $time, float $latitude, float $longitude): array
* format is
* SUNFUNCS_RET_TIMESTAMP.
* @return mixed Returns the sunrise time in a specified format on
* success . One potential reason for failure is that the
* success. One potential reason for failure is that the
* sun does not rise at all, which happens inside the polar circles for part of
* the year.
* @throws DatetimeException
Expand Down Expand Up @@ -329,7 +329,7 @@ function date_sunrise(int $timestamp, int $format = SUNFUNCS_RET_STRING, float $
* format is
* SUNFUNCS_RET_TIMESTAMP.
* @return mixed Returns the sunset time in a specified format on
* success . One potential reason for failure is that the
* success. One potential reason for failure is that the
* sun does not set at all, which happens inside the polar circles for part of
* the year.
* @throws DatetimeException
Expand Down Expand Up @@ -424,7 +424,7 @@ function mktime(int $hour = null, int $minute = null, int $second = null, int $m

/**
* strptime returns an array with the
* date parsed, .
* date parsed.
*
* Month and weekday names and other language dependent strings respect the
* current locale set with setlocale (LC_TIME).
Expand All @@ -439,7 +439,7 @@ function mktime(int $hour = null, int $minute = null, int $second = null, int $m
*
* For more information about the format options, read the
* strftime page.
* @return array Returns an array .
* @return array Returns an array.
*
*
* The following parameters are returned in the array
Expand Down Expand Up @@ -552,7 +552,7 @@ function strtotime(string $time, int $now = null): int
* abbr doesn't exist then the time zone is
* searched solely by the gmtOffset and
* isdst.
* @return string Returns time zone name on success .
* @return string Returns time zone name on success.
* @throws DatetimeException
*
*/
Expand Down
8 changes: 4 additions & 4 deletions generated/dir.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function chroot(string $directory): void
/**
* Gets the current working directory.
*
* @return string Returns the current working directory on success, .
* @return string Returns the current working directory on success.
*
* On some Unix variants, getcwd will return
* FALSE if any one of the parent directories does not have the
Expand Down Expand Up @@ -78,7 +78,7 @@ function getcwd(): string
* @param resource $context For a description of the context parameter,
* refer to the streams section of
* the manual.
* @return resource Returns a directory handle resource on success, .
* @return resource Returns a directory handle resource on success.
*
* If path is not a valid directory or the
* directory can not be opened due to permission restrictions or
Expand Down Expand Up @@ -115,7 +115,7 @@ function opendir(string $path, $context = null)
* with opendir. If the directory handle is
* not specified, the last link opened by opendir
* is assumed.
* @return string Returns the entry name on success .
* @return string Returns the entry name on success.
* @throws DirException
*
*/
Expand Down Expand Up @@ -173,7 +173,7 @@ function rewinddir($dir_handle = null): void
* @param resource $context For a description of the context parameter,
* refer to the streams section of
* the manual.
* @return array Returns an array of filenames on success, . If directory is not a directory, then
* @return array Returns an array of filenames on success. If directory is not a directory, then
* boolean FALSE is returned, and an error of level
* E_WARNING is generated.
* @throws DirException
Expand Down

0 comments on commit e70b52f

Please sign in to comment.