From 5963507ac54060f14ec3aac5b85794bc105470d3 Mon Sep 17 00:00:00 2001 From: Riccardo Tempesta Date: Fri, 20 Oct 2017 09:49:00 +0200 Subject: [PATCH] FIX save return type --- composer.json | 1 - etc/module.xml | 2 +- templates/crud/Api/RepositoryInterface.template | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index f7654b4..e645232 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,6 @@ }, "type": "magento2-module", - "version": "1.0.1", "license": "OSL 3.0", "autoload": { "files": [ diff --git a/etc/module.xml b/etc/module.xml index 3b961a6..8582e29 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -21,7 +21,7 @@ --> - + diff --git a/templates/crud/Api/RepositoryInterface.template b/templates/crud/Api/RepositoryInterface.template index 37374c7..6b93246 100644 --- a/templates/crud/Api/RepositoryInterface.template +++ b/templates/crud/Api/RepositoryInterface.template @@ -11,7 +11,7 @@ interface %class% /** * Save object * @param %data_interface% $object - * @return void + * @return %data_interface% */ public function save(%data_interface% $object);