Fix optional parameters positioning and ttwid

This commit is contained in:
Pablo Ferreiro 2022-05-24 16:03:43 +02:00
parent 0c100d650b
commit f1728257f2
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
2 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@ class Misc {
}
static public function getTtwid(): string {
return isset($_GET['cursor']) ? $_GET['cursor'] : '';
return isset($_GET['cursor']) ? $_GET['cursor'] : '';
}
static public function url(string $endpoint = ''): string {

12
composer.lock generated
View file

@ -263,16 +263,16 @@
},
{
"name": "pablouser1/tikscraper",
"version": "v2.0.1.4",
"version": "v2.0.1.5",
"source": {
"type": "git",
"url": "https://github.com/pablouser1/TikScraperPHP.git",
"reference": "7baac5630f2c2b02261d415a551aa916914249de"
"reference": "0baf9bba1884cac49b15e62fca17b7ecc9c36aeb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/7baac5630f2c2b02261d415a551aa916914249de",
"reference": "7baac5630f2c2b02261d415a551aa916914249de",
"url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/0baf9bba1884cac49b15e62fca17b7ecc9c36aeb",
"reference": "0baf9bba1884cac49b15e62fca17b7ecc9c36aeb",
"shasum": ""
},
"require": {
@ -298,9 +298,9 @@
"description": "Get data from TikTok API",
"support": {
"issues": "https://github.com/pablouser1/TikScraperPHP/issues",
"source": "https://github.com/pablouser1/TikScraperPHP/tree/v2.0.1.4"
"source": "https://github.com/pablouser1/TikScraperPHP/tree/v2.0.1.5"
},
"time": "2022-05-24T12:17:06+00:00"
"time": "2022-05-24T14:01:36+00:00"
},
{
"name": "php-webdriver/webdriver",