diff --git a/src/SplitIO/Sdk/Manager/LocalhostSplitManager.php b/src/SplitIO/Sdk/Manager/LocalhostSplitManager.php index 3628f95..799338b 100644 --- a/src/SplitIO/Sdk/Manager/LocalhostSplitManager.php +++ b/src/SplitIO/Sdk/Manager/LocalhostSplitManager.php @@ -66,7 +66,9 @@ public function splits() false, $this->splits[$featureFlagName]["treatments"], 0, - $configs + $configs, + null, + array() ); } } diff --git a/tests/Suite/Sdk/LocalhostSplitManagerTest.php b/tests/Suite/Sdk/LocalhostSplitManagerTest.php new file mode 100644 index 0000000..c532f29 --- /dev/null +++ b/tests/Suite/Sdk/LocalhostSplitManagerTest.php @@ -0,0 +1,24 @@ +splits(); + $this->assertCount(0, $splitViews); + } +} \ No newline at end of file