Skip to content

Conversation

@tymolls
Copy link

@tymolls tymolls commented Jan 8, 2023

Upgraded to PHP 8, and had a couple of errors on the Normaliser Classes. Here's an example:

property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given at /vendor/smartcat/smartcat-api/src/SmartCAT/API/Normalizer/ProjectModelNormalizer.php:50

I understand this was due to an upgrade to PHP 8.

So I've rewritten the function temporarily, and urge you to review and find a permanent fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant