| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function store(StoreArticle $request) |
||
| 26 | { |
||
| 27 | $request->validate([ |
||
| 28 | 'title' => 'required', |
||
| 29 | ]); |
||
| 30 | |||
| 31 | $article = Article::create([ |
||
|
|
|||
| 32 | 'title' => $request->title, |
||
| 33 | 'description' => $request->description, |
||
| 34 | 'user_id' => $request->user_id |
||
| 35 | ]); |
||
| 36 | |||
| 37 | return $article; |
||
| 38 | } |
||
| 39 | |||
| 56 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.