| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 56 | public function open($savePath, $sessionName): bool |
||
|
|
|||
| 57 | { |
||
| 58 | $this->prefix = $sessionName . ':'; |
||
| 59 | $this->ttl = (int)ini_get('session.gc_maxlifetime'); |
||
| 60 | |||
| 61 | // No more action necessary because connection is injected |
||
| 62 | // in constructor and arguments are not applicable. |
||
| 63 | |||
| 64 | return true; |
||
| 65 | } |
||
| 92 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.