tattersoftware / codeigniter4-schemas

Database schema management, for CodeIgniter 4
MIT License
23 stars 10 forks source link

Function getErrors always returns [] #12

Closed sfadschm closed 3 years ago

sfadschm commented 3 years ago

https://github.com/tattersoftware/codeigniter4-schemas/blob/eb6d5afeb5be188d6355f3075ae02a4bc5c498b2/src/Schemas.php#L56-L58 I think $tmpErrors should be returned, else the function will always return an empty array.

MGatner commented 3 years ago

😂 You're very right! Feel free to drop a PR, or I will get to it on the next update.