Closed kimpauevg closed 8 months ago
This problem occurs because that syntax is supported only for PHP 8.0 and higher. Using it breaks support for PHP7.
In this pull request, I moved the parameter requirements from attribute definition to phpdoc to fix this problem.
Hi, you need to add a typehint for int and remove intval, also edit phpdoc and add a space before the type that the method returns
@MakarMS Hi, done!
Thx! I`m rollback for support 7.3
This problem occurs because that syntax is supported only for PHP 8.0 and higher. Using it breaks support for PHP7.
In this pull request, I moved the parameter requirements from attribute definition to phpdoc to fix this problem.