Argument X passed to Y must be an instance of boolean, boolean given - PHP7

Viewed 4012

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?

1 Answers
Related