<?php class X { /** * @param int $nbToken * * @pslam-param int<1, max> $nbToken */ public function mark(string $place, /*, int, $nbToken = 1 */): void { $nbToken = 1 < \func_num_args() ? func_get_arg(1) : 1; } }
You have javascript disabled. You will not be able to edit any code.