Skip to content

Commit 1f52a70

Browse files
committed
Update BrowserClient.php
1 parent 72936b7 commit 1f52a70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BrowserClient.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class BrowserClient extends Client
2121
CURLOPT_TIMEOUT => 15
2222
);
2323

24-
protected static $storage_dir;
24+
protected static $_storage_dir;
2525

2626
/** @var string Where the cookies are stored */
2727
protected $cookie_file;
@@ -36,13 +36,13 @@ public function __construct()
3636

3737
protected function getStorageDirectory()
3838
{
39-
return static::$storage_dir ? static::$storage_dir : sys_get_temp_dir();
39+
return static::$_storage_dir ? static::$_storage_dir : sys_get_temp_dir();
4040
}
4141

4242
// TODO: make this apply across all previous browser sessions too
4343
public static function setStorageDirectory($path)
4444
{
45-
static::$storage_dir = $path;
45+
static::$_storage_dir = $path;
4646
}
4747

4848
/**

0 commit comments

Comments
 (0)