| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class SessionRepository |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * Update the session and save it. |
||
| 10 | * |
||
| 11 | * @param array $data The data used to update the session. |
||
| 12 | * @param \Xetaravel\Models\Session $session The session to update. |
||
| 13 | * |
||
| 14 | * @return \Xetaravel\Models\Session |
||
| 15 | */ |
||
| 16 | public static function update(array $data, Session $session): Session |
||
| 25 |