@@ -91,7 +91,7 @@ public function write(string $id, string $data): bool
9191
9292 return true ;
9393 } catch (DatabaseException $ e ) {
94- throw new SessionException ('could not update session: ' . $ e ->getMessage (), $ e ->getCode (), $ e ->getPrevious ()); // phpcs:ignore
94+ throw new SessionException ('could not update session: ' . $ e ->getMessage (), $ e ->getCode (), $ e ->getPrevious ());
9595 }
9696 }
9797
@@ -105,7 +105,7 @@ public function destroy(string $id): bool
105105
106106 return true ;
107107 } catch (DatabaseException $ e ) {
108- throw new SessionException ('could not delete session: ' . $ e ->getMessage (), $ e ->getCode (), $ e ->getPrevious ()); // phpcs:ignore
108+ throw new SessionException ('could not delete session: ' . $ e ->getMessage (), $ e ->getCode (), $ e ->getPrevious ());
109109 }
110110 }
111111
@@ -120,7 +120,7 @@ public function gc(int $max_lifetime): bool
120120
121121 return true ;
122122 } catch (DatabaseException $ e ) {
123- throw new SessionException ('could not clean old sessions: ' . $ e ->getMessage (), $ e ->getCode (), $ e ->getPrevious ()); // phpcs:ignore
123+ throw new SessionException ('could not clean old sessions: ' . $ e ->getMessage (), $ e ->getCode (), $ e ->getPrevious ());
124124 }
125125 }
126126
@@ -161,7 +161,7 @@ public function updateTimestamp(string $id, string $data): bool
161161 *
162162 * @noinspection PhpMethodNamingConventionInspection
163163 */
164- public function create_sid (): string // phpcs:ignore
164+ public function create_sid (): string
165165 {
166166 try {
167167 $ string = '' ;
0 commit comments