mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 07:52:19 +00:00
Removed key check in __get as it's already performed in the __isset method.
This commit is contained in:
@@ -309,7 +309,7 @@ class Request
|
|||||||
|
|
||||||
public function __get($name)
|
public function __get($name)
|
||||||
{
|
{
|
||||||
return isset($this->data[$name]) ? $this->data[$name] : null;
|
return $this->data[$name];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user