Skip to content

Commit

Permalink
fix: fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Sep 24, 2024
1 parent cb2a4e5 commit f1506ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Exception/MissingFieldHttpException.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ final class MissingFieldHttpException extends HttpException implements JsonHttpE
public function __construct($fieldName)
{
trigger_deprecation('tilleuls/forgot-password-bundle', '1.5', 'Status code will change to "%s" in 2.0.', 422);
parent::__construct(400, sprintf('Parameter "%s" is missing.', $fieldName));
parent::__construct(400, \sprintf('Parameter "%s" is missing.', $fieldName));
}
}
2 changes: 1 addition & 1 deletion src/Exception/UnauthorizedFieldException.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ final class UnauthorizedFieldException extends HttpException implements JsonHttp
{
public function __construct($propertyName)
{
parent::__construct(400, sprintf('The parameter "%s" is not authorized in your configuration.', $propertyName));
parent::__construct(400, \sprintf('The parameter "%s" is not authorized in your configuration.', $propertyName));
}
}
2 changes: 1 addition & 1 deletion src/Provider/ProviderChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function get(?string $name = null): ProviderInterface
}

if (!isset($this->providers[$name])) {
throw new UndefinedProviderException(sprintf('The provider "%s" is not defined.', $name));
throw new UndefinedProviderException(\sprintf('The provider "%s" is not defined.', $name));
}

return $this->providers[$name];
Expand Down

0 comments on commit f1506ec

Please sign in to comment.