Added $state and $options parameters to $authUrl 
Added $state and $options parameters to $authUrl 

I need that the AuthHelper accept all the parameters available in the official call url. So I added $state and $options variable to the createAuthRequest method sign (with null default) and passed to the $authUrl construction.
https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={option}
phpclassic/php-shopify