Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/Decoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ protected function _decodeValue()
* array.
*
* @return array|stdClass
* @throws Zend\Json\Exception\RuntimeException
* @throws RuntimeException
*/
protected function _decodeObject()
{
Expand Down Expand Up @@ -239,7 +239,7 @@ protected function _decodeObject()
* [element, element2,...,elementN]
*
* @return array
* @throws Zend\Json\Exception\RuntimeException
* @throws RuntimeException
*/
protected function _decodeArray()
{
Expand Down Expand Up @@ -290,7 +290,7 @@ protected function _eatWhitespace()
* Retrieves the next token from the source stream
*
* @return int Token constant value specified in class definition
* @throws Zend\Json\Exception\RuntimeException
* @throws RuntimeException
*/
protected function _getNextToken()
{
Expand Down
6 changes: 3 additions & 3 deletions src/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ protected function _encodeValue(&$value)
*
* @param $value object
* @return string
* @throws Zend\Json\Exception\RecursionException If recursive checks are enabled
* and the object has been serialized previously
* @throws RecursionException If recursive checks are enabled and the
* object has been serialized previously
*/
protected function _encodeObject(&$value)
{
Expand Down Expand Up @@ -398,7 +398,7 @@ private static function _encodeVariables(ReflectionClass $cls)
* @param $package string Optional package name appended to JavaScript
* proxy class name
* @return string The class2 (JavaScript) encoding of the class
* @throws Zend\Json\Exception\InvalidArgumentException
* @throws InvalidArgumentException
*/
public static function encodeClass($className, $package = '')
{
Expand Down
2 changes: 1 addition & 1 deletion src/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Json
* @param int $objectDecodeType Optional; flag indicating how to decode
* objects. See {@link Zend_Json_Decoder::decode()} for details.
* @return mixed
* @throws Zend\Json\Exception\RuntimeException
* @throws RuntimeException
*/
public static function decode($encodedValue, $objectDecodeType = self::TYPE_OBJECT)
{
Expand Down

0 comments on commit 3bc62a9

Please sign in to comment.