Skip to content

Commit

Permalink
Wrapped code referances in doc blocks in back-ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
calebkleveter committed Jul 26, 2018
1 parent 3f9493e commit 1ec4691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/JWTMiddleware/JWTAuthenticatableMiddleware.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public final class JWTAuthenticatableMiddleware<A: JWTAuthenticatable>: Middlewa
/// Creates an instance of the middleware
public init() {}

/// See Middleware.respond(to:chainingTo:).
/// See `Middleware.respond(to:chainingTo:)`.
public func respond(to request: Request, chainingTo next: Responder) throws -> Future<Response> {

// If the model is already quthenticated,
Expand Down
4 changes: 2 additions & 2 deletions Sources/JWTMiddleware/JWTVerificationMiddleware.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public final class JWTStorageMiddleware<Payload: JWTPayload>: Middleware {
/// Creates an instance of the middleware
public init() {}

/// See Middleware.respond(to:chainingTo:).
/// See `Middleware.respond(to:chainingTo:)`.
public func respond(to request: Request, chainingTo next: Responder) throws -> Future<Response> {

// 1. Get the payload from the request
Expand All @@ -37,7 +37,7 @@ public final class JWTVerificationMiddleware: Middleware {
/// Creates an instance of the middleware
public init() {}

/// See Middleware.respond(to:chainingTo:).
/// See `Middleware.respond(to:chainingTo:)`.
public func respond(to request: Request, chainingTo next: Responder) throws -> Future<Response> {

// Extract the token from the request. It is expected to
Expand Down

0 comments on commit 1ec4691

Please sign in to comment.