-
Notifications
You must be signed in to change notification settings - Fork 3
Use annotations for method level priority #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use annotations for method level priority #7
Conversation
# Conflicts: # composer.lock
# Conflicts: # src/MiddlewareRunner.php # tests/MiddlewareRunnerTest.php
* @return CancellablePromiseInterface | ||
* @PriorityAnnotation(Priority::LAST); | ||
*/ | ||
public function pre(RequestInterface $request, array $options = [], string $transactionId = null): CancellablePromiseInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 130 characters
* @return CancellablePromiseInterface | ||
* @PriorityAnnotation(Priority::FIRST); | ||
*/ | ||
public function post(ResponseInterface $response, array $options = [], string $transactionId = null): CancellablePromiseInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 133 characters
* @return CancellablePromiseInterface | ||
* @PriorityAnnotation(Priority::FIRST); | ||
*/ | ||
public function error(Throwable $throwable, array $options = [], string $transactionId = null): CancellablePromiseInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 127 characters
* @param array $options | ||
* @return CancellablePromiseInterface | ||
*/ | ||
public function pre(RequestInterface $request, array $options = [], string $transactionId = null): CancellablePromiseInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 130 characters
* @param array $options | ||
* @return CancellablePromiseInterface | ||
*/ | ||
public function post(ResponseInterface $response, array $options = [], string $transactionId = null): CancellablePromiseInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 133 characters
* @param array $options | ||
* @return CancellablePromiseInterface | ||
*/ | ||
public function error(Throwable $throwable, array $options = [], string $transactionId = null): CancellablePromiseInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 127 characters
# Conflicts: # composer.lock # src/MiddlewareRunner.php
No description provided.