for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Dont;
use Dont\Exception\NonDeserialisableObject;
use Dont\Exception\TypeError;
trait DontDeserialise
{
/**
* @throws NonDeserialisableObject
* @throws TypeError
*/
final public function __wakeup() : void
throw NonDeserialisableObject::fromAttemptedDeSerialisation($this);
}
final public function __unserialize() : array
final public function unserialize($_) : array
$_
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.