Skip to content

Commit

Permalink
Fixing warnings in PHP template
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Thaleikis <peter.thaleikis@gmail.com>
  • Loading branch information
spekulatius authored and alexellis committed Dec 5, 2020
1 parent 670d3df commit 2232e95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion template/php7/function/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "function-php7.2",
"name": "openfaas/function-php7.2",
"description": "Template for function in PHP 7.2",
"type": "project",
"license": "proprietary",
"config": {
"classmap-authoritative": true
},
Expand Down
3 changes: 2 additions & 1 deletion template/php7/function/src/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class Handler
* @param $data
* @return
*/
public function handle($data) {
public function handle($data)
{
return $data;
}
}

0 comments on commit 2232e95

Please sign in to comment.