Skip to content

Commit

Permalink
Expose devices config via getConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
shanerutter committed Nov 30, 2017
1 parent c2ea0ee commit dab8bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TPLinkDevice.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function connectToDevice()
*
* @return mixed
*/
protected function getConfig($key, $default = null)
public function getConfig($key, $default = null)
{
if (is_array($this->config) && isset($this->config[$key])) {
return $this->config[$key];
Expand Down

2 comments on commit dab8bcb

@jonnywilliamson
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shanerutter Can you tell me why you wanted this made public?

@shanerutter
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shanerutter Can you tell me why you wanted this made public?

Think this was me testing somthing, probably shouldnt have been included in the commit.

Please sign in to comment.