| 1 | <?php |
||
| 15 | class EventController extends Controller |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Create a new event controller instance. |
||
| 19 | */ |
||
| 20 | public function __construct() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * topアクション. |
||
| 26 | * |
||
| 27 | * @return view contents/it/event_topテンプレート |
||
| 28 | */ |
||
| 29 | public function topAction() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * connpassアクション. |
||
| 36 | * |
||
| 37 | * @return view contents/it/event/connpassテンプレート |
||
| 38 | */ |
||
| 39 | public function connpassAction(Request $request) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * connpassアクション. |
||
| 52 | * |
||
| 53 | * @return view contents/it/event/connpass_listテンプレート |
||
| 54 | */ |
||
| 55 | public function connpassListAction() |
||
| 59 | } |
||
| 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: