RedundantCast
Emitted when a cast (string, int, float etc.) is redundant
<?php
function foo(string $s) : string {
return (string) $s;
}
Emitted when a cast (string, int, float etc.) is redundant
<?php
function foo(string $s) : string {
return (string) $s;
}