Skip to content

Commit 6b3192d

Browse files
committed
Update LaravelNewrelicServiceProvider.php
FIX: cannot call protected method from closure.
1 parent 578a69a commit 6b3192d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Intouch/LaravelNewrelic/LaravelNewrelicServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function ( $request, $response ) use ( $me, $app )
9696
* @param \Illuminate\Foundation\Application $app
9797
* @return string
9898
*/
99-
protected function getTransactionName( $request, $response, $app )
99+
public function getTransactionName( $request, $response, $app )
100100
{
101101
$nameProvider = $app['config']['laravel-newrelic::name_provider'];
102102

0 commit comments

Comments
 (0)