baopham / laravel-dynamodb

Eloquent syntax for DynamoDB
https://packagist.org/packages/baopham/dynamodb
MIT License
484 stars 128 forks source link

Validation for the find method #255

Open Page-Carbajal opened 2 years ago

Page-Carbajal commented 2 years ago

$id is not always an array. Currently triggering "argument must be of type array|object" warning when using strings and integers. The validation fixes that issue.

scrutinizer-notifier commented 2 years ago

The inspection completed: No new issues

zoe-edwards commented 2 years ago

Which linter are you using out of interest?