| Conditions | 4 | 
| Paths | 3 | 
| Total Lines | 8 | 
| Code Lines | 3 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 4 | 
| CRAP Score | 4 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 30 | 11 | protected function validationShortCircuit($input): bool  | 
            |
| 31 |     { | 
            ||
| 32 | // The is_scalar is a short circuit for anything not a integer, float, string, boolean.  | 
            ||
| 33 | 11 |         if ($this->strict ? \is_string($input) : \is_scalar($input)) { | 
            |
| 
                                                                                                    
                        
                         | 
                |||
| 34 | 6 | return true;  | 
            |
| 35 | }  | 
            ||
| 36 | |||
| 37 | 5 | return (\is_object($input) && method_exists($input, '__toString'));  | 
            |
| 38 | }  | 
            ||
| 50 |