Copyleaks / PHP-Plagiarism-Checker

Copyleaks Plagiarism Checker - PHP SDK.
https://api.copyleaks.com
MIT License
34 stars 25 forks source link

Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in D:\laravel\as\vendor\copyleaks\php-plagiarism-checker\src\Models\CopyleaksAuthToken.php on line 31 #9

Closed anujsulakhiya closed 3 years ago

anujsulakhiya commented 3 years ago

Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in D:\laravel\as\vendor\copyleaks\php-plagiarism-checker\src\Models\CopyleaksAuthToken.php on line 31

CL-BayanAbuawad commented 3 years ago

@anujsulakhiya upgrade to PHP 7.3 or higher should solve the problem for you