O'Reilly logo
  • Jonathan McArdle-Phipps thinks this is interesting:

$this->authorizeResource(Contact::class);

From

Cover of Laravel: Up and Running

Note

This code should contain a reference to the model instance and should be:
$this->authorizeResource(Contact::class, 'contact');