language and static

This commit is contained in:
Philipp Holzer 2023-02-19 18:59:09 +01:00
parent d772331b91
commit 41251458a0
Signed by: nupplaPhil
GPG Key ID: 24A7501396EB5432
1 changed files with 2 additions and 2 deletions

View File

@ -31,14 +31,14 @@ class SerializeUtil
/**
* Checks if the value needs to get unserialized and returns the unserialized value
*
* @param mixed $value A possible serialized value
* @param mixed $value A possibly serialized value
*
* @return mixed The unserialized value
*/
public static function maybeUnserialize($value)
{
// This checks for possible multiple serialized values
while (SerializeUtil::isSerialized($value)) {
while (static::isSerialized($value)) {
$oldValue = $value;
$value = @unserialize($value);