HI,
The Netbeans PHP 7 does not show error when a wrong type is passed to a typed
function argument, like this:
Class Foo{
Public function baz(int $int) : int
{
}
}
$foo = new Foo();
$foo->baz("some string"); <-- should show error but not
Are there any intention to correct this?
--
Cumprimentos,
João Rebelo
[cid:[email protected]]
PCHouse - Reflexão, Estudos e Sistemas Informáticos, Lda
Rua Heróis de Quionga, 64-C * 1170-180 LISBOA
Telf. +351-218162999 +351-218144944
e-mail: [email protected]<mailto:[email protected]> * url:
http://www.pchouse.pt<http://scanmail.trustwave.com/?c=6824&d=kqCR3PclYyTjLzteSQiUwLyLXtD4VcPt7Dnucbx9Tg&u=http%3a%2f%2fwww%2epchouse%2ept%2f>