Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Commit 12811f4

Browse files
authored
Merge pull request #3 from wysiwyg-software-design/development
changed vendor name in composer.json and README.md
2 parents 502c2d3 + 83f17e8 commit 12811f4

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Classes/Domain/Http/AbTestingCookieComponent.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Neos\Flow\Http\Component\ComponentContext;
77
use Neos\Flow\Http\Component\ComponentInterface;
88
use Neos\Flow\Http\Cookie;
9+
use Neos\Flow\Http\Request;
910
use Neos\Flow\Http\Response;
1011
use Wysiwyg\ABTesting\Domain\Model\Feature;
1112
use Wysiwyg\ABTesting\Domain\Service\DecisionService;
@@ -57,7 +58,7 @@ public function handle(ComponentContext $componentContext)
5758
* Creates a new A/B Testing Cookie with decisions of all features.
5859
*
5960
* @param ComponentContext $componentContext
60-
* @param $response
61+
* @param Response $response
6162
*/
6263
private function createCookieToResponse(ComponentContext $componentContext, Response $response)
6364
{
@@ -75,10 +76,10 @@ private function createCookieToResponse(ComponentContext $componentContext, Resp
7576
* Checks for current decisions and add new decisions for features without a decision to the cookie.
7677
*
7778
* @param ComponentContext $componentContext
78-
* @param $request
79-
* @param $response
79+
* @param Request $request
80+
* @param Response $response
8081
*/
81-
private function refreshResponseCookie(ComponentContext $componentContext, $request, Response $response)
82+
private function refreshResponseCookie(ComponentContext $componentContext, Request $request, Response $response)
8283
{
8384
$abTestingCookie = $request->getCookie($this->cookieSettings['name']);
8485
$currentCookieValue = json_decode($abTestingCookie->getValue(), true);

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This package provides a simple to use backend module and frontend container to r
99
## Installation
1010
Run these commands to install the package and update the database schema.
1111
```bash
12-
composer require wysiwyg/neos-abtesting
12+
composer require wy/neos-abtesting
1313

1414
./flow flow:doctrine:migrate
1515
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "wysiwyg/neos-abtesting",
2+
"name": "wy/neos-abtesting",
33
"description": "A/B Testing for Neos",
44
"license": "MIT",
55
"type": "neos-plugin",

0 commit comments

Comments
 (0)