<?php declare(strict_types=1); class Bar { } class Foo { public function getBar(int $teste) { var_dump($teste); } } $foo = new Foo(); var_dump($foo->getBar(50.0));
You have javascript disabled. You will not be able to edit any code.