| 1 | <?php |
||
| 9 | class NotificationController extends Controller |
||
| 10 | { |
||
| 11 | use Helpers; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Display a listing of the resource. |
||
| 15 | * |
||
| 16 | * @param null $type |
||
| 17 | * @return \Illuminate\Http\Response |
||
| 18 | */ |
||
| 19 | public function index($type = null) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Update a notifications status. |
||
| 39 | * |
||
| 40 | * @param $id |
||
| 41 | * @param $action |
||
| 42 | * @return \Illuminate\Http\JsonResponse |
||
| 43 | */ |
||
| 44 | public function update($id, $action) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Create a new notification |
||
| 51 | * |
||
| 52 | * @param Request $request |
||
| 53 | * @return \Illuminate\Http\JsonResponse |
||
| 54 | */ |
||
| 55 | public function create(Request $request) |
||
| 63 | |||
| 64 | } |
||
| 65 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.