8000 Fixed typos in the @throws PHPDoc exception names by Gregwar · Pull Request #3 · symfony/form · GitHub
[go: up one dir, main page]

Skip to content

Fixed typos in the @throws PHPDoc exception names #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CallbackTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public function __construct(\Closure $transform, \Closure $reverseTransform)
*
* @return mixed The value in the transformed representation
*
* @throws UnexpectedTypeException when the argument is not a string
* @throws DataTransformerException when the transformation fails
* @throws UnexpectedTypeException when the argument is not a string
* @throws TransformationFailedException when the transformation fails
*/
public function transform($data)
{
Expand All @@ -60,8 +60,8 @@ public function transform($data)
*
* @return mixed The value in the original representation
*
* @throws UnexpectedTypeException when the argument is not of the expected type
* @throws DataTransformerException when the transformation fails
* @throws UnexpectedTypeException when the argument is not of the expected type
* @throws TransformationFailedException when the transformation fails
*/
public function reverseTransform($data)
{
Expand Down
8 changes: 4 additions & 4 deletions DataTransformerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ interface DataTransformerInterface
*
* @return mixed The value in the transformed representation
*
* @throws UnexpectedTypeException when the argument is not a string
* @throws DataTransformerException when the transformation fails
* @throws UnexpectedTypeException when the argument is not a string
* @throws TransformationFailedException when the transformation fails
*/
function transform($value);

Expand All @@ -70,8 +70,8 @@ function transform($value);
*
* @return mixed The value in the original representation
*
* @throws UnexpectedTypeException when the argument is not of the expected type
* @throws DataTransformerException when the transformation fails
* @throws UnexpectedTypeException when the argument is not of the expected type
* @throws TransformationFailedException when the transformation fails
*/
function reverseTransform($value);
}
0