Skip to content

Commit

Permalink
Merge pull request #8 from dissolve/7-contant-not-string
Browse files Browse the repository at this point in the history
fix issue #7, php7.2 failing due to expected int but given string
  • Loading branch information
Swapnil Hande authored Feb 27, 2019
2 parents ac938a6 + 314f97b commit 475798f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnp/sdk/CommManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function __construct($config){

//using flock to implement java's "synchronized" keyword
function synchronized(){
$backtrace = debug_backtrace('DEBUG_BACKTRACE_IGNORE_ARGS');
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
$tempname = md5(json_encode($backtrace[0]));
$filename = sys_get_temp_dir().'/'.$tempname.'lock';
$file = fopen($filename,'w');
Expand Down

0 comments on commit 475798f

Please sign in to comment.