Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 262 Bytes

ParadoxicalCondition.md

File metadata and controls

11 lines (8 loc) · 262 Bytes

ParadoxicalCondition

Emitted when a paradox is encountered in your programs logic that could not be caught by RedundantCondition

<?php

function foo(string $input) : string {
    return $input === "a" ? "bar" : ($input === "a" ? "foo" : "b");
}