Completed
Push — master ( de6e4f...2c030b )
by Alex
02:43
created
src/Agent.php 1 patch
Doc Comments   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
tests/src/AgentTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.