atk4 / data

Data Access PHP Framework for SQL & high-latency databases
https://atk4-data.readthedocs.io
MIT License
273 stars 46 forks source link

`Model::tryLoad` returns null when not found #996

Closed mvorisek closed 2 years ago

mvorisek commented 2 years ago

the return type was already documented as null, but the implementation returned unloaded entity

NOTE: hintable newly returns null when traversing entity 1:1 and the referenced record is not found - see https://github.com/mvorisek/atk4-hintable-mirror/commit/6a1863283b47afe20bb43f942544a8a7fd615460