| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 36 | public function updateArticleEntity(Article $article)  | 
            ||
| 37 |     { | 
            ||
| 38 | $article->setUpdateAt(new \DateTime());  | 
            ||
| 39 | parent::updateEntity($article);  | 
            ||
| 
                                                                                                    
                         1 ignored issue 
                            –
                            show
                         | 
                |||
| 40 | }  | 
            ||
| 41 | |||
| 57 | 
This check looks for a call to a parent method whose name is different than the method from which it is called.
Consider the following code:
The
getFirstName()method in theSoncalls the wrong method in the parent class.