Do you wish to register an account?
Browse Source

Fix method signature for PHP 8

master
Timothy Warren 1 month ago
parent
commit
5af43f6363
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      .travis.yml
  2. +1
    -2
      src/ConnectionManager.php

+ 1
- 1
.travis.yml View File

@ -11,7 +11,7 @@ services:
php:
- 7.4
- nightly
- 8
before_script:
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres

+ 1
- 2
src/ConnectionManager.php View File

@ -59,9 +59,8 @@ final class ConnectionManager {
* Prevent serialization of this object
*
* @throws DomainException
* @return void
*/
public function __sleep(): void
public function __sleep()
{
throw new DomainException('No serializing of singleton');
}

Loading…
Cancel
Save