Skip to content

Commit

Permalink
style: add fixes for phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarrio committed May 16, 2023
1 parent 8b596e2 commit 50573ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/OpenFeatureClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ private function evaluateFlag(
string $flagKey,
bool | string | int | float | DateTime | array | null $defaultValue,
?EvaluationContextInterface $invocationContext = null,
?EvaluationOptionsInterface $options = null
?EvaluationOptionsInterface $options = null,
): EvaluationDetailsInterface {
$api = $this->api;
$provider = $api->getProvider();
Expand Down Expand Up @@ -393,7 +393,7 @@ private function createProviderEvaluation(
string $key,
mixed $defaultValue,
Provider $provider,
EvaluationContextInterface $context
EvaluationContextInterface $context,
): ResolutionDetails {
switch ($type) {
case FlagValueType::BOOLEAN:
Expand Down
2 changes: 1 addition & 1 deletion src/implementation/flags/NoOpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getObjectValue(
string $flagKey,
array $defaultValue,
?EvaluationContextInterface $context = null,
?EvaluationOptions $options = null
?EvaluationOptions $options = null,
): array {
return $defaultValue;
}
Expand Down
2 changes: 1 addition & 1 deletion src/implementation/hooks/HookContextFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static function from(
bool | string | int | float | DateTime | array | null $defaultValue,
?EvaluationContextInterface $evaluationContext,
Metadata $clientMetadata,
Metadata $providerMetadata
Metadata $providerMetadata,
): HookContext {
$builder = new HookContextBuilder();

Expand Down

0 comments on commit 50573ec

Please sign in to comment.