Skip to content
Permalink
Browse files

Fix PHPCS errors.

  • Loading branch information...
markstory committed Aug 31, 2016
1 parent bd46657 commit 4dfd141b414f64c53b8145e9b95ea07eef70fdcb
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/Network/Request.php
@@ -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
*/
@@ -1465,6 +1465,7 @@ public function withoutAttribute($name)
);
}
unset($new->attributes[$name]);
return $new;
}
@@ -1484,6 +1485,7 @@ public function getAttribute($name, $default = null)
if (array_key_exists($name, $this->attributes)) {
return $this->attributes[$name];
}
return $default;
}
@@ -1502,6 +1504,7 @@ public function getAttributes()
'webroot' => $this->webroot,
'base' => $this->base
];
return $this->attributes + $emulated;
}

0 comments on commit 4dfd141

Please sign in to comment.
You can’t perform that action at this time.