Skip to content

Commit

Permalink
correct docblock type-hint and return value for __unserialize method (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheipashkevich authored Feb 22, 2021
1 parent 75b1e9e commit 4e40d4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Queue/SerializesModels.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function __serialize()
* Restore the model after serialization.
*
* @param array $values
* @return array
* @return void
*/
public function __unserialize(array $values)
{
Expand Down Expand Up @@ -122,8 +122,6 @@ public function __unserialize(array $values)
$this, $this->getRestoredPropertyValue($values[$name])
);
}

return $values;
}

/**
Expand Down

0 comments on commit 4e40d4e

Please sign in to comment.