Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
return types fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed May 9, 2017
1 parent 3cfa913 commit c62d68d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ private function runRoute(string $controller, string $returnType = 'html', array
$this->response->$returnFunction($functionOutput, $this->controller);
}

public function getResponse() : void
public function getResponse() :string
{
$this->run();
return $this->response->getResponse();
}

public function sendResponse() : void
public function sendResponse() : string
{
$this->run();
return $this->response->sendResponse();
Expand Down

0 comments on commit c62d68d

Please sign in to comment.