Skip to content

Commit eb88fee

Browse files
committed
fix: Fix SAST issues
1 parent 3e73447 commit eb88fee

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ $f->setDatafile($datafileContent);
335335

336336
### Updating datafile
337337

338-
You can set the datafile as many times as you want in your application, which will result in emitting a [`datafile_set`](#datafile-set) event that you can listen and react to accordingly.
338+
You can set the datafile as many times as you want in your application, which will result in emitting a [`datafile_set`](#datafile_set) event that you can listen and react to accordingly.
339339

340340
The triggers for setting the datafile again can be:
341341

src/Featurevisor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Featurevisor;
44

5+
use Closure;
56
use Psr\Log\LoggerInterface;
67
use Psr\Log\NullLogger;
78

@@ -265,6 +266,7 @@ public function isEnabled(string $featureKey, array $context = [], array $option
265266
* reason: string,
266267
* bucketKey: string,
267268
* bucketValue: string,
269+
* variation: array<string, mixed>,
268270
* enabled: bool,
269271
* error?: string,
270272
* }

tests/LoggerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Featurevisor\Tests;
44

5-
use PHPUnit\Framework\Attributes\DataProvider;
65
use PHPUnit\Framework\TestCase;
76

87
use Featurevisor\Logger;

0 commit comments

Comments
 (0)