Skip to content

Commit 3ac4075

Browse files
committed
fix(agent): Fix comment.
1 parent b30ce13 commit 3ac4075

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

agent/fw_slim.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ NR_PHP_WRAPPER_END
8383
/*
8484
* Wrap the Slim 3\Slim\Route::run method
8585
* and
86-
* Slim 4 Slim\\Routing\\Route::run
87-
* which are the happy paths for Slim 3/4 routing.
86+
* Slim 4 Slim\\Routing\\Route::run
87+
* which are the happy paths for Slim 3/4 routing.
8888
* i.e. The router has succesfully matched the URL and dispatched the request
8989
* to a route.
9090
*
91-
* In this case, `nr_txn_set_path` is called after `NR_PHP_WRAPPER_CALL` with
92-
* `NR_OK_TO_OVERWRITE` before wrapper_call and as this corresponds to calling
93-
* the last wrapped function call of this type gets to name the txn therefore
94-
* needs a before call for OAPI.
91+
* In this case, `nr_txn_set_path` is called before `NR_PHP_WRAPPER_CALL` with
92+
* `NR_OK_TO_OVERWRITE` and as this corresponds to calling the last wrapped
93+
* function call of this type gets to name the txn; therefore needs a before
94+
* call for OAPI.
9595
*/
9696
NR_PHP_WRAPPER(nr_slim3_4_route_run) {
9797
zval* this_var = NULL;

0 commit comments

Comments
 (0)