From f1728257f2c457bfce8689a2580c154e086f654f Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Tue, 24 May 2022 16:03:43 +0200 Subject: [PATCH] Fix optional parameters positioning and ttwid --- app/Helpers/Misc.php | 2 +- composer.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Helpers/Misc.php b/app/Helpers/Misc.php index c685607..efb9e36 100644 --- a/app/Helpers/Misc.php +++ b/app/Helpers/Misc.php @@ -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 { diff --git a/composer.lock b/composer.lock index a43bac3..db75984 100644 --- a/composer.lock +++ b/composer.lock @@ -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",