Skip to content

Commit

Permalink
Fix PHPCS errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 31, 2016
1 parent bd46657 commit 4dfd141
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Network/Request.php
Expand Up @@ -1444,14 +1444,14 @@ public function withAttribute($name, $value)
} else {
$new->attributes[$name] = $value;
}

return $new;
}

/**
* Return an instance without the specified request attribute.
*
* @param string $name The attribute name.
* @param mixed $value The value of the attribute.
* @return static
* @throws InvalidArgumentException
*/
Expand All @@ -1465,6 +1465,7 @@ public function withoutAttribute($name)
);
}
unset($new->attributes[$name]);

return $new;
}

Expand All @@ -1484,6 +1485,7 @@ public function getAttribute($name, $default = null)
if (array_key_exists($name, $this->attributes)) {
return $this->attributes[$name];
}

return $default;
}

Expand All @@ -1502,6 +1504,7 @@ public function getAttributes()
'webroot' => $this->webroot,
'base' => $this->base
];

return $this->attributes + $emulated;
}

Expand Down

0 comments on commit 4dfd141

Please sign in to comment.