Removed key check in __get as it's already performed in the __isset method.

This commit is contained in:
Simon Sessingo
2017-12-16 23:24:31 +01:00
parent 155729074b
commit aa5ec47051
+1 -1
View File
@@ -309,7 +309,7 @@ class Request
public function __get($name)
{
return isset($this->data[$name]) ? $this->data[$name] : null;
return $this->data[$name];
}
}