We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dd9ccf commit 3694fc9Copy full SHA for 3694fc9
src/Illuminate/Database/Eloquent/Model.php
@@ -2618,15 +2618,15 @@ public function __serialize()
2618
* When a model is being unserialized, check if it needs to be booted.
2619
*
2620
* @return void
2621
- */
+ */
2622
public function __unserialize($data)
2623
{
2624
foreach ($data as $property => $value) {
2625
if (property_exists($this, $property)) {
2626
$this->{$property} = $value;
2627
}
2628
2629
-
+
2630
$this->bootIfNotBooted();
2631
2632
$this->initializeTraits();
0 commit comments