I want to ask if both are the same and if not, where's the difference between them:
/**
* @param int|null $id Any id.
*/
public function testSomething(int $id = null) {}
and
/**
* @param int|null $id Any id.
*/
public function testSomething(?int $id) {}
Thank you for your answer!