Inital commit for unit test configuration
This commit is contained in:

committed by
Manish Verma

parent
2f0796e954
commit
e0436b7757
@@ -425,7 +425,7 @@ class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Count
|
||||
$this->setIteratorClass($v);
|
||||
break;
|
||||
case 'protectedProperties':
|
||||
continue;
|
||||
break;
|
||||
default:
|
||||
$this->__set($k, $v);
|
||||
}
|
||||
|
@@ -84,7 +84,9 @@ class SplPriorityQueue extends \SplPriorityQueue implements Serializable
|
||||
*/
|
||||
public function unserialize($data)
|
||||
{
|
||||
$this->serial = PHP_INT_MAX;
|
||||
foreach (unserialize($data) as $item) {
|
||||
$this->serial--;
|
||||
$this->insert($item['data'], $item['priority']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user