| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function subscribeToLottery($game, $user, $entry) |
||
| 15 | { |
||
| 16 | $entry->setDrawable(true); |
||
| 17 | $entry->setActive(false); |
||
| 18 | $entry = $this->getEntryMapper()->update($entry); |
||
| 19 | |||
| 20 | $this->getEventManager()->trigger( |
||
| 21 | __FUNCTION__ . '.post', |
||
| 22 | $this, |
||
| 23 | array('user' => $user, 'game' => $game, 'entry' => $entry) |
||
| 24 | ); |
||
| 25 | |||
| 26 | return $entry; |
||
| 27 | } |
||
| 28 | |||
| 61 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..