diff --git a/template/php7/function/composer.json b/template/php7/function/composer.json index c5d00cc3..ae4f40e0 100644 --- a/template/php7/function/composer.json +++ b/template/php7/function/composer.json @@ -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 }, diff --git a/template/php7/function/src/Handler.php b/template/php7/function/src/Handler.php index b451c8a9..8d55eb4c 100644 --- a/template/php7/function/src/Handler.php +++ b/template/php7/function/src/Handler.php @@ -12,7 +12,8 @@ class Handler * @param $data * @return */ - public function handle($data) { + public function handle($data) + { return $data; } }