The expression return $mutex could return the type resource which is incompatible with the type-hinted return SysvSemaphore|false. Consider adding an additional type-check to rule them out.
Loading history...
40
}
41
42
public function mutexRelease(false|\SysvSemaphore $mutex) : void {