Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 19, 2019
1 parent 8f3b5c7 commit 920c364
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Illuminate/Queue/SerializesModels.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ public function __serialize()
$name = "\0*\0{$name}";
}

$values[$name] = $this->getSerializedPropertyValue($this->getPropertyValue($property));
$values[$name] = $this->getSerializedPropertyValue(
$this->getPropertyValue($property)
);
}

return $values;
Expand Down Expand Up @@ -109,7 +111,10 @@ public function __unserialize(array $values)
}

$property->setAccessible(true);
$property->setValue($this, $this->getRestoredPropertyValue($values[$name]));

$property->setValue(
$this, $this->getRestoredPropertyValue($values[$name])
);
}

return $values;
Expand Down

0 comments on commit 920c364

Please sign in to comment.