Skip to content

0.1.2 Version is not compatible with PHP 7.4 | unexpected 'protected', expecting variable (T_VARIABLE) at /ConnectionRepository.php:13 #10

Open
@julianlaibach

Description

@julianlaibach

Hi @georgeboot, since the Constructor property promotion is only Available since PHP 8.x the Minor Update 0.1.2 is no longer compatible with PHP 7.x

I get the Following Error:

syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE) {"exception":"[object] (ParseError(code: 0): syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE) at /var/www/html/vendor/georgeboot/laravel-echo-api-gateway/src/ConnectionRepository.php:13)

Downgrading to Version 0.1.0 resolved this Issue for me running my App on PHP 7.4.

Thank you! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions