Skip to content

Commit

Permalink
Merge pull request #115 from l0gicgate/MakeRemoveTokenFromStorageMeth…
Browse files Browse the repository at this point in the history
…odPublic

Make remoteTokenFromStorage method public
  • Loading branch information
l0gicgate committed Apr 4, 2020
2 parents 29a24ec + 274d92b commit 887862b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Guard.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ protected function saveTokenToStorage(string $name, string $value): void
*
* @param string $name CSRF token name
*/
protected function removeTokenFromStorage(string $name): void
public function removeTokenFromStorage(string $name): void
{
$this->storage[$name] = '';
unset($this->storage[$name]);
Expand Down

0 comments on commit 887862b

Please sign in to comment.