Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed most of the docblocks/unused namespaces

  • Loading branch information...
commit ef3d92815bdb07281ee8cbd73b3e3f9e41bdc1a0 1 parent 36e91ea
Florin Patan dlsniper authored fabpot committed
1  Encoder/JsonDecode.php
View
@@ -44,6 +44,7 @@ public function getLastError()
* Decodes a JSON string into PHP data
*
* @param string $data JSON
+ * @param string $format
*
* @return mixed
*/
3  Encoder/JsonEncode.php
View
@@ -41,7 +41,8 @@ public function getLastError()
/**
* Encodes PHP data to a JSON string
*
- * @param mixed $data
+ * @param mixed $data
+ * @param string $format
*
* @return string
*/
2  Encoder/XmlEncoder.php
View
@@ -271,6 +271,8 @@ private function parseXml($node)
* @param array|object $data data
*
* @return Boolean
+ *
+ * @throws UnexpectedValueException
*/
private function buildXml($parentNode, $data)
{
6 Serializer.php
View
@@ -222,6 +222,9 @@ private function getDenormalizer($data, $type, $format = null)
* @param string $format format name, present to give the option to normalizers to act differently based on formats
*
* @return array|scalar
+ *
+ * @throws LogicException
+ * @throws UnexpectedValueException
*/
private function normalizeObject($object, $format = null)
{
@@ -253,6 +256,9 @@ private function normalizeObject($object, $format = null)
* @param string $format format name, present to give the option to normalizers to act differently based on formats
*
* @return object
+ *
+ * @throws LogicException
+ * @throws UnexpectedValueException
*/
private function denormalizeObject($data, $class, $format = null)
{
Please sign in to comment.
Something went wrong with that request. Please try again.