You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> phpstan analyse --memory-limit=512M
Note: Using configuration file /var/www/html/phpstan.neon.
145/145 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -------------------------------------------
Line src/Controller/ExamplesController.php
------ -------------------------------------------
11 Cannot assign offset 'string' to string.
------ -------------------------------------------
[ERROR] Found 1 error
Script phpstan analyse --memory-limit=512M handling the stan event returned with error code 1
Script @stan was called via check
Problem
when i do my code like below
then i got errors during phpstan
Investigation
foreign_data currently is a string
https://github.com/UseMuffin/Tokenize/blob/master/src/Model/Entity/Token.php#L16
foreign_data should be an array because setColumnType=json
https://github.com/UseMuffin/Tokenize/blob/master/src/Model/Table/TokensTable.php#L118
Proposal
to put the correct properties
also to put other properties such as expired, created and modified
some example i would like to use for the expired property is
Others
composer.json
The text was updated successfully, but these errors were encountered: