Skip to content

Commit b34028d

Browse files
authored
Upgrade CI tools versions (#1098)
* Upgrade php-cs-fixer to 3.1.0 * Upgrade psalm to 4.10.0 * Upgrade phpstan to 0.12.98 * Fiix psalm
1 parent 9ad440c commit b34028d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SessionHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ public function destroy($sessionId)
128128
}
129129

130130
/**
131-
* @return bool
131+
* @return int|false
132132
*/
133133
#[\ReturnTypeWillChange]
134134
public function gc($maxLifetime)
135135
{
136136
// DynamoDB takes care of garbage collection
137-
return true;
137+
return 0;
138138
}
139139

140140
/**

tests/SessionHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function testRead()
9393
],
9494
]));
9595

96-
$this::assertEquals('test data', $this->handler->read('123456789'));
96+
self::assertEquals('test data', $this->handler->read('123456789'));
9797
}
9898

9999
public function testWrite()

0 commit comments

Comments
 (0)