Use int instead of integer in proto
authorGabriel Caruso <carusogabriel34@gmail.com>
Thu, 1 Feb 2018 08:04:25 +0000 (06:04 -0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 2 Feb 2018 21:32:15 +0000 (22:32 +0100)
ext/hash/hash.c
ext/intl/dateformat/dateformat_parse.c
ext/intl/resourcebundle/resourcebundle_class.c
ext/openssl/openssl.c
ext/standard/password.c
main/streams/userspace.c
sapi/phpdbg/phpdbg.c

index 079eac791032ca7c59a2ebee15bcc4258bff045b..60299711acd4847224c0c84fe668668b2732ffa3 100644 (file)
@@ -434,7 +434,7 @@ PHP_FUNCTION(hash_update)
 }
 /* }}} */
 
-/* {{{ proto int hash_update_stream(HashContext context, resource handle[, integer length])
+/* {{{ proto int hash_update_stream(HashContext context, resource handle[, int length])
 Pump data into the hashing algorithm from an open stream */
 PHP_FUNCTION(hash_update_stream)
 {
index b1099468444346acfce8f823c50d94edf62cb449..0ff7a42edd9dc8e29228c1160096f30fa7ec8066 100644 (file)
@@ -121,9 +121,9 @@ static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* tex
 /* }}} */
 
 
-/* {{{ proto integer IntlDateFormatter::parse( string $text_to_parse  [, int $parse_pos] )
+/* {{{ proto int IntlDateFormatter::parse( string $text_to_parse  [, int $parse_pos] )
  * Parse the string $value starting at parse_pos to a Unix timestamp -int }}}*/
-/* {{{ proto integer datefmt_parse( IntlDateFormatter $fmt, string $text_to_parse [, int $parse_pos] )
+/* {{{ proto int datefmt_parse( IntlDateFormatter $fmt, string $text_to_parse [, int $parse_pos] )
  * Parse the string $value starting at parse_pos to a Unix timestamp -int }}}*/
 PHP_FUNCTION(datefmt_parse)
 {
@@ -166,9 +166,9 @@ PHP_FUNCTION(datefmt_parse)
 }
 /* }}} */
 
-/* {{{ proto integer IntlDateFormatter::localtime( string $text_to_parse[, int $parse_pos] )
+/* {{{ proto int IntlDateFormatter::localtime( string $text_to_parse[, int $parse_pos] )
  * Parse the string $value to a localtime array  }}}*/
-/* {{{ proto integer datefmt_localtime( IntlDateFormatter $fmt, string $text_to_parse[, int $parse_pos ])
+/* {{{ proto int datefmt_localtime( IntlDateFormatter $fmt, string $text_to_parse[, int $parse_pos ])
  * Parse the string $value to a localtime array  }}}*/
 PHP_FUNCTION(datefmt_localtime)
 {
index 6d5825a9b70c9e768595128552a1dc6ac8b49c87..973f4c2e6514a0f95970e638c6dae182f725c03b 100644 (file)
@@ -248,8 +248,8 @@ ZEND_BEGIN_ARG_INFO_EX( arginfo_resourcebundle_get, 0, 0, 1 )
 ZEND_END_ARG_INFO()
 /* }}} */
 
-/* {{{ proto mixed ResourceBundle::get( integer|string $resindex [, bool $fallback = true ] )
- * proto mixed resourcebundle_get( ResourceBundle $rb, integer|string $resindex [, bool $fallback = true ] )
+/* {{{ proto mixed ResourceBundle::get( int|string $resindex [, bool $fallback = true ] )
+ * proto mixed resourcebundle_get( ResourceBundle $rb, int|string $resindex [, bool $fallback = true ] )
  * Get resource identified by numerical index or key name.
  */
 PHP_FUNCTION( resourcebundle_get )
index 42cfd228ceece45b9691bed124acbe9239028da6..4d2b1714da49117dfa0e039be961441d895ac263 100644 (file)
@@ -6739,7 +6739,7 @@ PHP_FUNCTION(openssl_cipher_iv_length)
 /* }}} */
 
 
-/* {{{ proto string openssl_random_pseudo_bytes(integer length [, &bool returned_strong_result])
+/* {{{ proto string openssl_random_pseudo_bytes(int length [, &bool returned_strong_result])
    Returns a string of the length specified filled with random pseudo bytes */
 PHP_FUNCTION(openssl_random_pseudo_bytes)
 {
@@ -6807,4 +6807,3 @@ PHP_FUNCTION(openssl_random_pseudo_bytes)
  * vim600: sw=4 ts=4 fdm=marker
  * vim<600: sw=4 ts=4
  */
-
index b6dab59914dfa59f8a513a7c0257ee1c655ab92a..3a00582dc8d937c5415785387bde62b3ff6c93a0 100644 (file)
@@ -212,7 +212,7 @@ PHP_FUNCTION(password_get_info)
 }
 /** }}} */
 
-/* {{{ proto boolean password_needs_rehash(string $hash, integer $algo[, array $options])
+/* {{{ proto boolean password_needs_rehash(string $hash, int $algo[, array $options])
 Determines if a given hash requires re-hashing based upon parameters */
 PHP_FUNCTION(password_needs_rehash)
 {
index df2db72813e33d1e280743ff44dbb1d5e0813f72..d73fb898f8b4917dc3aac21bec09bd029db3c4d2 100644 (file)
@@ -490,7 +490,7 @@ static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char
 }
 
 
-/* {{{ proto bool stream_wrapper_register(string protocol, string classname[, integer flags])
+/* {{{ proto bool stream_wrapper_register(string protocol, string classname[, int flags])
    Registers a custom URL protocol handler class */
 PHP_FUNCTION(stream_wrapper_register)
 {
index db3798bef79ae52d76f160e89564143297f9ef30..d71e02f9075ae70192a4acb0b3499f94fc5c4e1a 100644 (file)
@@ -370,7 +370,7 @@ static PHP_FUNCTION(phpdbg_break_next)
        phpdbg_set_breakpoint_opline_ex((phpdbg_opline_ptr_t) ex->opline + 1);
 } /* }}} */
 
-/* {{{ proto void phpdbg_break_file(string file, integer line) */
+/* {{{ proto void phpdbg_break_file(string file, int line) */
 static PHP_FUNCTION(phpdbg_break_file)
 {
        char *file;
@@ -425,7 +425,7 @@ static PHP_FUNCTION(phpdbg_clear)
        zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_COND]);
 } /* }}} */
 
-/* {{{ proto void phpdbg_color(integer element, string color) */
+/* {{{ proto void phpdbg_color(int element, string color) */
 static PHP_FUNCTION(phpdbg_color)
 {
        zend_long element;