Skip to content

Commit

Permalink
Update Request.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joostbaptist authored Dec 6, 2018
1 parent e49a8ad commit 888c5c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Requests/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ abstract class Request extends BaseRequest
*/
public function setData(string $key, $value): self
{
if ($key === null) {
$this->data = $value;

return $this;
}

$data = &$this->data;
$keys = explode('.', $key);

Expand Down

0 comments on commit 888c5c5

Please sign in to comment.