File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ $harmony->addMiddleware(
219219The first argument of the middleware's constructor is the ID of the middleware that must be unique, the second argument
220220is a callable which gets the reference of the full framework as its only parameter.
221221
222- The single most important thing any middleware can do is to call `` $harmony-next() `` to invoke the next middleware
222+ The single most important thing any middleware can do is to call `` $harmony-> next() `` to invoke the next middleware
223223when its function was accomplished. Not calling this method means interrupting the framework's operation! That's why
224224we only invoke `` $harmony->next `` in this example when authentication was successful.
225225
@@ -274,7 +274,7 @@ $harmony->addMiddleware(new AuthenticationMiddleware("123"));
274274As you can see, the constructor receives the API Key, while the `` execute() `` method is responsible for performing the
275275authentication.
276276
277- Again: the single most important thing any middleware can do is to call `` $harmony-next() `` to invoke the next middleware
277+ Again: the single most important thing any middleware can do is to call `` $harmony-> next() `` to invoke the next middleware
278278when its function was accomplished. Not calling this method means interrupting the framework's operation! That's why
279279we only invoke `` $harmony->next `` in this example when authentication was successful.
280280
You can’t perform that action at this time.
0 commit comments