PGBI/cakephp3-soft-delete

Docs error: error with syntax in documentation

cercos opened this issue · 1 comments

On the page https://github.com/PGBI/cakephp3-soft-delete#restoring-soft-deleted-records it should be:
$user = $this->Users->find('all', ['withDeleted'])->where(['id' => 1])->first();

Saving anyone who copies and pastes the sample for testing a few minutes. I copy and pasted and it took me a few minutes to figure out why it wasn't working. I'm using version 3.3 if this happens to be version specific.

True. As I can see, this project has been abandoned time ago...