problem with passed GET parameter

Hello, can anyone tell me, why i can’t passed GET parameter ? example

public function actionIndex($param)

{

}

URL is correct

"http://localhost/yii2-app-advanced/frontend/web/?r=main/index&param=2"

why?

I gets Missing argument 1 for frontend\controllers\MainController::actionIndex()

what can be reason?