Skip to content

Commit a5966d1

Browse files
committed
fixed phpdoc @param alignment
1 parent 3a142c0 commit a5966d1

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

Encoder/EncoderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface EncoderInterface
2121
/**
2222
* Encodes data into the given format
2323
*
24-
* @param mixed $data Data to encode
24+
* @param mixed $data Data to encode
2525
* @param string $format Format name
2626
*
2727
* @return scalar

Normalizer/CustomNormalizer.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public function denormalize($data, $class, $format = null)
3838
/**
3939
* Checks if the given class implements the NormalizableInterface.
4040
*
41-
* @param mixed $data Data to normalize.
42-
* @param string $format The format being (de-)serialized from or into.
41+
* @param mixed $data Data to normalize.
42+
* @param string $format The format being (de-)serialized from or into.
4343
* @return Boolean
4444
*/
4545
public function supportsNormalization($data, $format = null)
@@ -50,9 +50,9 @@ public function supportsNormalization($data, $format = null)
5050
/**
5151
* Checks if the given class implements the NormalizableInterface.
5252
*
53-
* @param mixed $data Data to denormalize from.
54-
* @param string $type The class to which the data should be denormalized.
55-
* @param string $format The format being deserialized from.
53+
* @param mixed $data Data to denormalize from.
54+
* @param string $type The class to which the data should be denormalized.
55+
* @param string $format The format being deserialized from.
5656
* @return Boolean
5757
*/
5858
public function supportsDenormalization($data, $type, $format = null)

Normalizer/DenormalizableInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ interface DenormalizableInterface
2929
*
3030
* @param DenormalizerInterface $denormalizer The denormalizer is given so that you
3131
* can use it to denormalize objects contained within this object.
32-
* @param array|scalar $data The data from which to re-create the object.
33-
* @param string|null $format The format is optionally given to be able to denormalize differently
32+
* @param array|scalar $data The data from which to re-create the object.
33+
* @param string|null $format The format is optionally given to be able to denormalize differently
3434
* based on different input formats.
3535
*/
3636
function denormalize(DenormalizerInterface $denormalizer, $data, $format = null);

Normalizer/DenormalizerInterface.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ interface DenormalizerInterface
2121
/**
2222
* Denormalizes data back into an object of the given class
2323
*
24-
* @param mixed $data data to restore
25-
* @param string $class the expected class to instantiate
24+
* @param mixed $data data to restore
25+
* @param string $class the expected class to instantiate
2626
* @param string $format format the given data was extracted from
2727
* @return object
2828
*/
@@ -31,9 +31,9 @@ function denormalize($data, $class, $format = null);
3131
/**
3232
* Checks whether the given class is supported for denormalization by this normalizer
3333
*
34-
* @param mixed $data Data to denormalize from.
35-
* @param string $type The class to which the data should be denormalized.
36-
* @param string $format The format being deserialized from.
34+
* @param mixed $data Data to denormalize from.
35+
* @param string $type The class to which the data should be denormalized.
36+
* @param string $format The format being deserialized from.
3737
* @return Boolean
3838
*/
3939
function supportsDenormalization($data, $type, $format = null);

Normalizer/NormalizerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ function normalize($object, $format = null);
3030
/**
3131
* Checks whether the given class is supported for normalization by this normalizer
3232
*
33-
* @param mixed $data Data to normalize.
34-
* @param string $format The format being (de-)serialized from or into.
33+
* @param mixed $data Data to normalize.
34+
* @param string $format The format being (de-)serialized from or into.
3535
* @return Boolean
3636
*/
3737
function supportsNormalization($data, $format = null);

Serializer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ private function normalizeObject($object, $format = null)
240240
/**
241241
* Denormalizes data back into an object of the given class
242242
*
243-
* @param mixed $data data to restore
244-
* @param string $class the expected class to instantiate
243+
* @param mixed $data data to restore
244+
* @param string $class the expected class to instantiate
245245
* @param string $format format name, present to give the option to normalizers to act differently based on formats
246246
* @return object
247247
*/

SerializerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface SerializerInterface
2121
/**
2222
* Serializes data in the appropriate format
2323
*
24-
* @param mixed $data any data
24+
* @param mixed $data any data
2525
* @param string $format format name
2626
* @return string
2727
*/

0 commit comments

Comments
 (0)