Skip to content

Commit

Permalink
removed dots at the end of @param and @return
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jun 28, 2016
1 parent 60c6b45 commit 9f99eeb
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Encoder/DecoderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface DecoderInterface
*
* @param string $data Data to decode
* @param string $format Format name
* @param array $context options that decoders have access to.
* @param array $context options that decoders have access to
*
* The format parameter specifies which format the data is in; valid values
* depend on the specific implementation. Authors implementing this interface
Expand Down
2 changes: 1 addition & 1 deletion Encoder/EncoderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface EncoderInterface
*
* @param mixed $data Data to encode
* @param string $format Format name
* @param array $context options that normalizers/encoders have access to.
* @param array $context options that normalizers/encoders have access to
*
* @return scalar
*
Expand Down
2 changes: 1 addition & 1 deletion Encoder/XmlEncoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ private function resolveXmlRootName(array $context = array())
/**
* Create a DOM document, taking serializer options into account.
*
* @param array $context options that the encoder has access to.
* @param array $context options that the encoder has access to
*
* @return \DOMDocument
*/
Expand Down
2 changes: 1 addition & 1 deletion Mapping/ClassMetadataInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface ClassMetadataInterface
/**
* Returns the name of the backing PHP class.
*
* @return string The name of the backing class.
* @return string The name of the backing class
*/
public function getName();

Expand Down
4 changes: 2 additions & 2 deletions NameConverter/CamelCaseToSnakeCaseNameConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class CamelCaseToSnakeCaseNameConverter implements NameConverterInterface
private $lowerCamelCase;

/**
* @param null|array $attributes The list of attributes to rename or null for all attributes.
* @param bool $lowerCamelCase Use lowerCamelCase style.
* @param null|array $attributes The list of attributes to rename or null for all attributes
* @param bool $lowerCamelCase Use lowerCamelCase style
*/
public function __construct(array $attributes = null, $lowerCamelCase = true)
{
Expand Down
10 changes: 5 additions & 5 deletions Normalizer/CustomNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public function denormalize($data, $class, $format = null, array $context = arra
/**
* Checks if the given class implements the NormalizableInterface.
*
* @param mixed $data Data to normalize.
* @param string $format The format being (de-)serialized from or into.
* @param mixed $data Data to normalize
* @param string $format The format being (de-)serialized from or into
*
* @return bool
*/
Expand All @@ -51,9 +51,9 @@ public function supportsNormalization($data, $format = null)
/**
* Checks if the given class implements the NormalizableInterface.
*
* @param mixed $data Data to denormalize from.
* @param string $type The class to which the data should be denormalized.
* @param string $format The format being deserialized from.
* @param mixed $data Data to denormalize from
* @param string $type The class to which the data should be denormalized
* @param string $format The format being deserialized from
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion Normalizer/DenormalizableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface DenormalizableInterface
*
* @param DenormalizerInterface $denormalizer The denormalizer is given so that you
* can use it to denormalize objects contained within this object
* @param array|scalar $data The data from which to re-create the object.
* @param array|scalar $data The data from which to re-create the object
* @param string|null $format The format is optionally given to be able to denormalize differently
* based on different input formats
* @param array $context options for denormalizing
Expand Down
6 changes: 3 additions & 3 deletions Normalizer/DenormalizerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public function denormalize($data, $class, $format = null, array $context = arra
/**
* Checks whether the given class is supported for denormalization by this normalizer.
*
* @param mixed $data Data to denormalize from.
* @param string $type The class to which the data should be denormalized.
* @param string $format The format being deserialized from.
* @param mixed $data Data to denormalize from
* @param string $type The class to which the data should be denormalized
* @param string $format The format being deserialized from
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion Normalizer/GetSetMethodNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private function supports($class)
*
* @param \ReflectionMethod $method the method to check
*
* @return bool whether the method is a getter or boolean getter.
* @return bool whether the method is a getter or boolean getter
*/
private function isGetMethod(\ReflectionMethod $method)
{
Expand Down
4 changes: 2 additions & 2 deletions Normalizer/NormalizerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public function normalize($object, $format = null, array $context = array());
/**
* Checks whether the given class is supported for normalization by this normalizer.
*
* @param mixed $data Data to normalize.
* @param string $format The format being (de-)serialized from or into.
* @param mixed $data Data to normalize
* @param string $format The format being (de-)serialized from or into
*
* @return bool
*/
Expand Down

0 comments on commit 9f99eeb

Please sign in to comment.