ihorshto's avatar

ihorshto wrote a reply+100 XP

3mos ago

getKeyName in Laravel 10 causes issue in test when slug is primary key

Hello, getKeyName() is just the method that returns $primaryKey, so you can simplify it