From 353d63f862bb2a0ca575937a7f526c8d788e7ebf Mon Sep 17 00:00:00 2001 From: Martin Linzmayer Date: Wed, 8 Jul 2026 10:29:27 +0200 Subject: [PATCH] ref: change param names to be camel case --- sentry.stub.php | 4 ++-- sentry_arginfo.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sentry.stub.php b/sentry.stub.php index e151407..1f6f983 100644 --- a/sentry.stub.php +++ b/sentry.stub.php @@ -13,8 +13,8 @@ const LOG_ERROR = 400; function instrument( - ?string $class_name, - string $function_name, + ?string $className, + string $functionName, mixed ...$metadata ): bool {} diff --git a/sentry_arginfo.h b/sentry_arginfo.h index b7adaf7..f773187 100644 --- a/sentry_arginfo.h +++ b/sentry_arginfo.h @@ -1,9 +1,9 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 1457ccb7fe7cf6adb3ef2cb30f0ed5fd12fef02b */ + * Stub hash: 9b2b12d671b0ee55aa239014f8d8c702e5b5e260 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_Sentry_instrument, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, class_name, IS_STRING, 1) - ZEND_ARG_TYPE_INFO(0, function_name, IS_STRING, 0) + ZEND_ARG_TYPE_INFO(0, className, IS_STRING, 1) + ZEND_ARG_TYPE_INFO(0, functionName, IS_STRING, 0) ZEND_ARG_VARIADIC_TYPE_INFO(0, metadata, IS_MIXED, 0) ZEND_END_ARG_INFO()