@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * |
| 29 | 29 | * Passing an application name will call the agent api right away. |
| 30 | 30 | * |
| 31 | - * @param string|array $name (optional) Name(s) of app metrics should be reported under in New Relic |
|
| 31 | + * @param string|array $appname (optional) Name(s) of app metrics should be reported under in New Relic |
|
| 32 | 32 | * user interface |
| 33 | 33 | * @param string $license (optional) Specify a different license key to report metrics to a different |
| 34 | 34 | * New Relic account |
@@ -309,11 +309,6 @@ discard block |
||
| 309 | 309 | * |
| 310 | 310 | * @see https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelic_notice_error |
| 311 | 311 | * |
| 312 | - * @param string|\Throwable|\Exception|int $message|$e|$e|$errno |
|
| 313 | - * @param \Throwable|\Exception|sring $e|$e|$errstr (optional) |
|
| 314 | - * @param string $errfile (optional) |
|
| 315 | - * @param int $errline (optional) |
|
| 316 | - * @param string $errcontext (optional) |
|
| 317 | 312 | */ |
| 318 | 313 | public function noticeError(...$arguments) |
| 319 | 314 | { |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | |
| 187 | 187 | protected function parseMethodName($function) |
| 188 | 188 | { |
| 189 | - return 'newrelic' . substr(strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', $function)), 4); |
|
| 189 | + return 'newrelic'.substr(strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', $function)), 4); |
|
| 190 | 190 | } |
| 191 | 191 | |
| 192 | 192 | protected function assertExtensionVersion($version, $method) |