Completed
Branch master (bcf6d3)
by Thomas
02:18
created
Category
src/Filters/NeverTrigger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 namespace InnoCraft\Experiments\Filters;
10 10
 
11
-class NeverTrigger implements FilterInterface  {
11
+class NeverTrigger implements FilterInterface {
12 12
 
13 13
     public function shouldTrigger()
14 14
     {
Please login to merge, or discard this patch.
src/Filters/IsInTestGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 use InnoCraft\Experiments\Storage\StorageInterface;
12 12
 use InvalidArgumentException;
13 13
 
14
-class IsInTestGroup implements FilterInterface  {
14
+class IsInTestGroup implements FilterInterface {
15 15
 
16 16
     const MAX_PERCENTAGE = 100;
17 17
     const STORAGE_NAMESPACE = 'isInTestGroup';
Please login to merge, or discard this patch.
src/Filters/CustomFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
 use InvalidArgumentException;
12 12
 
13
-class CustomFilter implements FilterInterface  {
13
+class CustomFilter implements FilterInterface {
14 14
 
15 15
     /**
16 16
      * @var \Callable
Please login to merge, or discard this patch.
src/Filters/ScheduledDate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 use DateTimeInterface;
12 12
 use DateTime;
13 13
 
14
-class ScheduledDate implements FilterInterface  {
14
+class ScheduledDate implements FilterInterface {
15 15
 
16 16
     /**
17 17
      * @var DateTimeInterface
Please login to merge, or discard this patch.
src/Filters/AlwaysTrigger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 namespace InnoCraft\Experiments\Filters;
10 10
 
11
-class AlwaysTrigger implements FilterInterface  {
11
+class AlwaysTrigger implements FilterInterface {
12 12
 
13 13
     public function shouldTrigger()
14 14
     {
Please login to merge, or discard this patch.
examples/ab_test_withConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     'startDate' => '2017-01-02 03:04:05', // optional, only activate the experiment after this date
24 24
     'endDate' => '2019-01-02 03:04:05', // optional, only activate the experiment before this date
25 25
     'currentDate' => '2018-01-02 03:04:05', // optional, defaults to "now",
26
-    'customFilter' => function () { // optional, a callable to further restrict with custom logic for who the experiment will be activated
26
+    'customFilter' => function() { // optional, a callable to further restrict with custom logic for who the experiment will be activated
27 27
         return true; // eg return UserCountry::GetCountry() === 'de';
28 28
     }
29 29
 ];
Please login to merge, or discard this patch.