Skip to content

Commit

Permalink
Changes request migration methods (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlive authored and tomschlick committed Sep 19, 2017
1 parent 28dc2a3 commit 3f7cf99
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/RequestMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ abstract class RequestMigration
*
* @return \Illuminate\Http\Request
*/
abstract public function migrateRequest(Request $request) : Request;
public function migrateRequest(Request $request) : Request
{
return $request;
}

/**
* Migrate the response to display to the client.
Expand All @@ -23,7 +26,10 @@ abstract public function migrateRequest(Request $request) : Request;
*
* @return \Symfony\Component\HttpFoundation\Response
*/
abstract public function migrateResponse(Response $response) : Response;
public function migrateResponse(Response $response) : Response
{
return $response;
}

/**
* Define which named paths should this migration modify.
Expand Down

0 comments on commit 3f7cf99

Please sign in to comment.