dacastro4 / laravel-gmail

Laravel wrapper for the Gmail API
MIT License
292 stars 134 forks source link

State variable in config is referenced incorrectly #142

Closed siteclub closed 4 years ago

siteclub commented 4 years ago

In your pull request #55 where you add the state variable, did you forgot to add the prefix for the state variable or is it intentional and I'm missing something?

'state' => isset($this->_config[ 'state' ]) ? $this->_config[ 'state' ] : null,

should be

'state' => isset($this->_config[ 'gmail.state' ]) ? $this->_config[ 'gmail.state' ] : null,