Skip to content

Commit

Permalink
swap model for interface return type
Browse files Browse the repository at this point in the history
  • Loading branch information
repl6669 committed Jan 27, 2022
1 parent a061c8a commit b619b24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CookieConsentHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Dystcz\CookieConsentHistory;

use Dystcz\CookieConsentHistory\Actions\SaveCookieConsent;
use Dystcz\CookieConsentHistory\Contracts\StoresCookieConsent;
use Dystcz\CookieConsentHistory\Data\CookieConsentData;
use Dystcz\CookieConsentHistory\Http\Controllers\CookieConsentsController;
use Dystcz\CookieConsentHistory\Models\CookieConsent;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Route;

Expand All @@ -16,9 +16,9 @@ class CookieConsentHistory
*
* @param CookieConsentData $data
*
* @return CookieConsent
* @return StoresCookieConsent
*/
public function save(CookieConsentData $data): CookieConsent
public function save(CookieConsentData $data): StoresCookieConsent
{
return (new SaveCookieConsent)->handle($data);
}
Expand Down

0 comments on commit b619b24

Please sign in to comment.