Remove extra space before return type

For consistency and searchability reasons
This commit is contained in:
Máté Kocsis 2021-10-18 14:28:46 +02:00
parent ec90e85d8c
commit 10a2079b13
No known key found for this signature in database
GPG key ID: FD055E41728BF310
4 changed files with 6 additions and 6 deletions

View file

@ -54,7 +54,7 @@ abstract class ReflectionFunctionAbstract implements Reflector
/** @tentative-return-type */ /** @tentative-return-type */
public function getClosureScopeClass(): ?ReflectionClass {} public function getClosureScopeClass(): ?ReflectionClass {}
public function getClosureUsedVariables() : array {} public function getClosureUsedVariables(): array {}
/** @tentative-return-type */ /** @tentative-return-type */
public function getDocComment(): string|false {} public function getDocComment(): string|false {}

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead. /* This is a generated file, edit the .stub.php file instead.
* Stub hash: 0b5887f75bd4ff4935aaa5bbdbe1c18f970525c2 */ * Stub hash: 62fcf63d2f3e93537560c3a03e71fda131a31586 */
ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Reflection_getModifierNames, 0, 1, IS_ARRAY, 0) ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Reflection_getModifierNames, 0, 1, IS_ARRAY, 0)
ZEND_ARG_TYPE_INFO(0, modifiers, IS_LONG, 0) ZEND_ARG_TYPE_INFO(0, modifiers, IS_LONG, 0)

View file

@ -200,11 +200,11 @@ function sodium_crypto_stream_keygen(): string {}
function sodium_crypto_stream_xor(string $message, string $nonce, string $key): string {} function sodium_crypto_stream_xor(string $message, string $nonce, string $key): string {}
#if defined(crypto_stream_xchacha20_KEYBYTES) #if defined(crypto_stream_xchacha20_KEYBYTES)
function sodium_crypto_stream_xchacha20(int $length, string $nonce, string $key) : string {} function sodium_crypto_stream_xchacha20(int $length, string $nonce, string $key): string {}
function sodium_crypto_stream_xchacha20_keygen() : string {} function sodium_crypto_stream_xchacha20_keygen(): string {}
function sodium_crypto_stream_xchacha20_xor(string $message, string $nonce, string $key) : string {} function sodium_crypto_stream_xchacha20_xor(string $message, string $nonce, string $key): string {}
#endif #endif
function sodium_add(string &$string1, string $string2): void {} function sodium_add(string &$string1, string $string2): void {}

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead. /* This is a generated file, edit the .stub.php file instead.
* Stub hash: 83363d4c65a99ae18e8e475524ce7aa20a768556 */ * Stub hash: e172b900040a9d9ac98207c638fdeb3a0c6a13e6 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sodium_crypto_aead_aes256gcm_is_available, 0, 0, _IS_BOOL, 0) ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sodium_crypto_aead_aes256gcm_is_available, 0, 0, _IS_BOOL, 0)
ZEND_END_ARG_INFO() ZEND_END_ARG_INFO()