File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -447,13 +447,13 @@ returns the list of related groups::
447
447
*/
448
448
public function serialize()
449
449
{
450
- return \ serialize(array(
450
+ return serialize(array(
451
451
$this->id,
452
452
$this->username,
453
453
$this->email,
454
454
$this->salt,
455
455
$this->password,
456
- $this->isActive
456
+ $this->isActive,
457
457
));
458
458
}
459
459
@@ -468,8 +468,8 @@ returns the list of related groups::
468
468
$this->email,
469
469
$this->salt,
470
470
$this->password,
471
- $this->isActive
472
- ) = \ unserialize($serialized);
471
+ $this->isActive,
472
+ ) = unserialize($serialized);
473
473
}
474
474
}
475
475
@@ -535,10 +535,10 @@ that forces it to have a ``getRole()`` method::
535
535
*/
536
536
public function serialize()
537
537
{
538
- return \ serialize(array(
538
+ return serialize(array(
539
539
$this->id,
540
540
$this->name,
541
- $this->role
541
+ $this->role,
542
542
));
543
543
}
544
544
@@ -550,8 +550,8 @@ that forces it to have a ``getRole()`` method::
550
550
list(
551
551
$this->id,
552
552
$this->name,
553
- $this->role
554
- ) = \ unserialize($serialized);
553
+ $this->role,
554
+ ) = unserialize($serialized);
555
555
}
556
556
}
557
557
You can’t perform that action at this time.
0 commit comments