Skip to content

Commit b0774f2

Browse files
committed
fix more phpcs errors
1 parent 00654fc commit b0774f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/RuleBased/Condition.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Condition
2424
*
2525
* @param string $property The property name for the condition
2626
* @param string $op The operator for the field of the feature.
27-
* @param string|array|int|float|bool $value The value to compare against.
27+
* @param array|string|float|int|bool $value The value to compare against.
2828
*/
2929
public function __construct(
3030
protected string $property,

src/RuleBased/Feature.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function match(FeatureContext $context): bool
3939
*
4040
* @param string $name The name of the feature flagl
4141
* @param array $config An array of cofiguration and segmented users
42-
* @return \FeatureFlags\RuleBased\Feature
42+
* @return self
4343
*/
4444
public static function fromArray(string $name, array $config): Feature
4545
{

src/RuleBased/Segment.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function match(FeatureContext $context): bool
6262
* Create a segment from an array of configuration
6363
*
6464
* @param array $config The data for a segment
65-
* @return \FeatureFlags\RuleBased\Segment
65+
* @return self
6666
*/
6767
public static function fromArray(array $config): Segment
6868
{

0 commit comments

Comments
 (0)