| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | public function connpassAction(Request $request) |
||
| 40 | { |
||
| 41 | $connpassEventEvent = new ConnpassEventService(); |
||
| 42 | $month = $connpassEventEvent->getMonth($request); |
||
|
|
|||
| 43 | $year = $connpassEventEvent->getYear($request); |
||
| 44 | return view( |
||
| 45 | 'tabbar/navigation/contents/it/event/connpass', |
||
| 46 | compact('month','year') |
||
| 47 | ); |
||
| 48 | } |
||
| 49 | |||
| 60 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: