Given code
<?php
function a(boolean $value){
var_dump($value);
}
a(true);
I receive error
TypeError: Argument 1 passed to a() must be an instance of boolean, boolean given
What is going on here?
Given code
<?php
function a(boolean $value){
var_dump($value);
}
a(true);
I receive error
TypeError: Argument 1 passed to a() must be an instance of boolean, boolean given
What is going on here?