Skip to content

Commit

Permalink
update pro nette 3
Browse files Browse the repository at this point in the history
  • Loading branch information
vojir committed Oct 19, 2019
1 parent 930ab20 commit 0922003
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
],
"require": {
"php": ">=5.6",
"php": ">=7.1",
"nette/http": ">=2.4",
"nette/utils": ">=2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion src/ComposedCsvResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public static function firstUpperNoUnderscoresFormatter($heading){
* @param Nette\Http\IRequest $httpRequest
* @param Nette\Http\IResponse $httpResponse
*/
public function send(Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse){
public function send(Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse):void {
$httpResponse->setContentType($this->contentType, $this->outputCharset);
$attachment = 'attachment';
if (!empty($this->filename)){
Expand Down
2 changes: 1 addition & 1 deletion src/SimpleCsvResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function setDataFormatter($formatter){
* @param Nette\Http\IRequest $httpRequest
* @param Nette\Http\IResponse $httpResponse
*/
public function send(Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse){
public function send(Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse):void {
$httpResponse->setContentType($this->contentType, $this->outputCharset);
$attachment = 'attachment';
if (!empty($this->filename)){
Expand Down

0 comments on commit 0922003

Please sign in to comment.