Skip to content

Commit

Permalink
fixed Parsian socket timeout config value
Browse files Browse the repository at this point in the history
  • Loading branch information
samuraee committed May 9, 2020
1 parent f6b02fe commit 0444d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/Parsian.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Parsian extends AdapterAbstract implements AdapterInterface

public function init()
{
ini_set("default_socket_timeout", config('larapay.parsian.timeout'));
ini_set("default_socket_timeout", strval(config('larapay.parsian.timeout')));
}

/**
Expand Down

0 comments on commit 0444d0d

Please sign in to comment.