update 1.0.8.0

Commits for version update
This commit is contained in:
Manish Verma
2016-10-17 12:02:27 +05:30
parent dec927987b
commit 76e85db070
9674 changed files with 495757 additions and 58922 deletions

View File

@@ -22,7 +22,7 @@ class Data
private $useRefHandles = -1;
/**
* @param array $data A array as returned by ClonerInterface::cloneVar().
* @param array $data A array as returned by ClonerInterface::cloneVar()
*/
public function __construct(array $data)
{
@@ -30,7 +30,7 @@ class Data
}
/**
* @return array The raw data structure.
* @return array The raw data structure
*/
public function getRawData()
{
@@ -40,9 +40,9 @@ class Data
/**
* Returns a depth limited clone of $this.
*
* @param int $maxDepth The max dumped depth level.
* @param int $maxDepth The max dumped depth level
*
* @return self A clone of $this.
* @return self A clone of $this
*/
public function withMaxDepth($maxDepth)
{
@@ -55,9 +55,9 @@ class Data
/**
* Limits the number of elements per depth level.
*
* @param int $maxItemsPerDepth The max number of items dumped per depth level.
* @param int $maxItemsPerDepth The max number of items dumped per depth level
*
* @return self A clone of $this.
* @return self A clone of $this
*/
public function withMaxItemsPerDepth($maxItemsPerDepth)
{
@@ -70,9 +70,9 @@ class Data
/**
* Enables/disables objects' identifiers tracking.
*
* @param bool $useRefHandles False to hide global ref. handles.
* @param bool $useRefHandles False to hide global ref. handles
*
* @return self A clone of $this.
* @return self A clone of $this
*/
public function withRefHandles($useRefHandles)
{
@@ -94,10 +94,10 @@ class Data
/**
* Depth-first dumping of items.
*
* @param DumperInterface $dumper The dumper being used for dumping.
* @param Cursor $cursor A cursor used for tracking dumper state position.
* @param array &$refs A map of all references discovered while dumping.
* @param mixed $item A Stub object or the original value being dumped.
* @param DumperInterface $dumper The dumper being used for dumping
* @param Cursor $cursor A cursor used for tracking dumper state position
* @param array &$refs A map of all references discovered while dumping
* @param mixed $item A Stub object or the original value being dumped
*/
private function dumpItem($dumper, $cursor, &$refs, $item)
{
@@ -186,13 +186,13 @@ class Data
* Dumps children of hash structures.
*
* @param DumperInterface $dumper
* @param Cursor $parentCursor The cursor of the parent hash.
* @param array &$refs A map of all references discovered while dumping.
* @param array $children The children to dump.
* @param int $hashCut The number of items removed from the original hash.
* @param string $hashType A Cursor::HASH_* const.
* @param Cursor $parentCursor The cursor of the parent hash
* @param array &$refs A map of all references discovered while dumping
* @param array $children The children to dump
* @param int $hashCut The number of items removed from the original hash
* @param string $hashType A Cursor::HASH_* const
*
* @return int The final number of removed items.
* @return int The final number of removed items
*/
private function dumpChildren($dumper, $parentCursor, &$refs, $children, $hashCut, $hashType)
{