From 10a2079b13d9c3ca36b7fa61c094808b941cd364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Mon, 18 Oct 2021 14:28:46 +0200 Subject: [PATCH] Remove extra space before return type For consistency and searchability reasons --- ext/reflection/php_reflection.stub.php | 2 +- ext/reflection/php_reflection_arginfo.h | 2 +- ext/sodium/libsodium.stub.php | 6 +++--- ext/sodium/libsodium_arginfo.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php index 07c3452721e..8f2ef6ec6f4 100644 --- a/ext/reflection/php_reflection.stub.php +++ b/ext/reflection/php_reflection.stub.php @@ -54,7 +54,7 @@ abstract class ReflectionFunctionAbstract implements Reflector /** @tentative-return-type */ public function getClosureScopeClass(): ?ReflectionClass {} - public function getClosureUsedVariables() : array {} + public function getClosureUsedVariables(): array {} /** @tentative-return-type */ public function getDocComment(): string|false {} diff --git a/ext/reflection/php_reflection_arginfo.h b/ext/reflection/php_reflection_arginfo.h index fd209dbd251..12b01c4d264 100644 --- a/ext/reflection/php_reflection_arginfo.h +++ b/ext/reflection/php_reflection_arginfo.h @@ -1,5 +1,5 @@ /* 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_ARG_TYPE_INFO(0, modifiers, IS_LONG, 0) diff --git a/ext/sodium/libsodium.stub.php b/ext/sodium/libsodium.stub.php index 80fbb8d8ea8..af859c58fe9 100644 --- a/ext/sodium/libsodium.stub.php +++ b/ext/sodium/libsodium.stub.php @@ -200,11 +200,11 @@ function sodium_crypto_stream_keygen(): string {} function sodium_crypto_stream_xor(string $message, string $nonce, string $key): string {} #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 function sodium_add(string &$string1, string $string2): void {} diff --git a/ext/sodium/libsodium_arginfo.h b/ext/sodium/libsodium_arginfo.h index dd04c974375..f0e7aed85e2 100644 --- a/ext/sodium/libsodium_arginfo.h +++ b/ext/sodium/libsodium_arginfo.h @@ -1,5 +1,5 @@ /* 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_END_ARG_INFO()