| Conditions | 4 |
| Paths | 6 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public static function selectWait(string $type, string $identify) : void |
||
| 36 | { |
||
| 37 | switch ($type) { |
||
| 38 | case SelectWaitTimeoutException::class: |
||
| 39 | $slot = self::SW_TIMEOUT; |
||
| 40 | break; |
||
| 41 | case SelectWaitOverflowException::class: |
||
| 42 | $slot = self::SW_OVERFLOW; |
||
| 43 | break; |
||
| 44 | } |
||
| 45 | |||
| 46 | if (isset($slot)) { |
||
| 47 | self::$happens[$slot][$identify] = (self::$happens[$slot][$identify] ?? 0) + 1; |
||
| 48 | } |
||
| 61 |