Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
magic method fix
Browse files Browse the repository at this point in the history
  • Loading branch information
justnx committed Jul 17, 2013
1 parent 5efb6f6 commit f591403
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public function __construct($rules, $argv = NULL, $getoptConfig = array())
* @param string $key
* @return string
*/
protected function __get($key)
public function __get($key)
{
return $this->getOption($key);
}
Expand All @@ -254,7 +254,7 @@ protected function __get($key)
* @param string $key
* @return bool
*/
protected function __isset($key)
public function __isset($key)
{
if (!$this->_parsed)
$this->parse();
Expand All @@ -268,7 +268,7 @@ protected function __isset($key)
* @param string $key
* @param string $value
*/
protected function __set($key, $value)
public function __set($key, $value)
{
$this->_options[$key] = $value;
}
Expand Down

0 comments on commit f591403

Please sign in to comment.