79221902

Date: 2024-11-25 06:37:57
Score: 1.5
Natty:
Report link

You can add an additional "where" into your code:

$categories = Category::where('user_id', $user_id)->where('category_name', 'something')->get()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mahdi