Update InArray.php

in InArray validator
if haystack is an empty array, an exception 'haystack option is mandatory' is thrown
should be exact equality ===




<?php
$t = array();
if ($t == null) echo "null\n"; else echo "not null\n";




this code echoes null




<?php
$t = array();
if ($t === null) echo "null\n"; else echo "not null\n";




this code echoes not null
Merge branch 'hotfix/4047' into develop

Forward port #4047