Skip to content

Commit af7a52b

Browse files
Run php-cs-fixer
1 parent 3de09bd commit af7a52b

8 files changed

+0
-35
lines changed

Session/Storage/Handler/MongoDbSessionHandler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ private function getCollection(): \MongoDB\Collection
166166
return $this->collection;
167167
}
168168

169-
/**
170-
* @return \MongoDB\Client
171-
*/
172169
protected function getMongo(): \MongoDB\Client
173170
{
174171
return $this->mongo;

Session/Storage/Handler/PdoSessionHandler.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,6 @@ private function rollback(): void
601601
*
602602
* We need to make sure we do not return session data that is already considered garbage according
603603
* to the session.gc_maxlifetime setting because gc() is called after read() and only sometimes.
604-
*
605-
* @return string
606604
*/
607605
protected function doRead(string $sessionId): string
608606
{
@@ -881,8 +879,6 @@ private function getMergeStatement(string $sessionId, string $data, int $maxlife
881879

882880
/**
883881
* Return a PDO instance.
884-
*
885-
* @return \PDO
886882
*/
887883
protected function getConnection(): \PDO
888884
{

Session/Storage/MetadataBag.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ public function initialize(array &$array)
8484

8585
/**
8686
* Gets the lifetime that the session cookie was set with.
87-
*
88-
* @return int
8987
*/
9088
public function getLifetime(): int
9189
{

Session/Storage/MockArraySessionStorage.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ public function setMetadataBag(MetadataBag $bag = null)
215215

216216
/**
217217
* Gets the MetadataBag.
218-
*
219-
* @return MetadataBag
220218
*/
221219
public function getMetadataBag(): MetadataBag
222220
{
@@ -228,8 +226,6 @@ public function getMetadataBag(): MetadataBag
228226
*
229227
* This doesn't need to be particularly cryptographically secure since this is just
230228
* a mock.
231-
*
232-
* @return string
233229
*/
234230
protected function generateId(): string
235231
{

Session/Storage/NativeSessionStorage.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,6 @@ public function setMetadataBag(MetadataBag $metaBag = null)
313313

314314
/**
315315
* Gets the MetadataBag.
316-
*
317-
* @return MetadataBag
318316
*/
319317
public function getMetadataBag(): MetadataBag
320318
{

Session/Storage/Proxy/AbstractProxy.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ abstract class AbstractProxy
3030

3131
/**
3232
* Gets the session.save_handler name.
33-
*
34-
* @return string|null
3533
*/
3634
public function getSaveHandlerName(): ?string
3735
{
@@ -40,8 +38,6 @@ public function getSaveHandlerName(): ?string
4038

4139
/**
4240
* Is this proxy handler and instance of \SessionHandlerInterface.
43-
*
44-
* @return bool
4541
*/
4642
public function isSessionHandlerInterface(): bool
4743
{
@@ -50,8 +46,6 @@ public function isSessionHandlerInterface(): bool
5046

5147
/**
5248
* Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
53-
*
54-
* @return bool
5549
*/
5650
public function isWrapper(): bool
5751
{
@@ -60,8 +54,6 @@ public function isWrapper(): bool
6054

6155
/**
6256
* Has a session started?
63-
*
64-
* @return bool
6557
*/
6658
public function isActive(): bool
6759
{
@@ -70,8 +62,6 @@ public function isActive(): bool
7062

7163
/**
7264
* Gets the session ID.
73-
*
74-
* @return string
7565
*/
7666
public function getId(): string
7767
{
@@ -94,8 +84,6 @@ public function setId(string $id)
9484

9585
/**
9686
* Gets the session name.
97-
*
98-
* @return string
9987
*/
10088
public function getName(): string
10189
{

Session/Storage/Proxy/SessionHandlerProxy.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ public function __construct(\SessionHandlerInterface $handler)
2525
$this->saveHandlerName = $this->wrapper ? ini_get('session.save_handler') : 'user';
2626
}
2727

28-
/**
29-
* @return \SessionHandlerInterface
30-
*/
3128
public function getHandler(): \SessionHandlerInterface
3229
{
3330
return $this->handler;

Session/Storage/SessionStorageInterface.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ public function clear();
113113
/**
114114
* Gets a SessionBagInterface by name.
115115
*
116-
* @return SessionBagInterface
117-
*
118116
* @throws \InvalidArgumentException If the bag does not exist
119117
*/
120118
public function getBag(string $name): SessionBagInterface;
@@ -124,8 +122,5 @@ public function getBag(string $name): SessionBagInterface;
124122
*/
125123
public function registerBag(SessionBagInterface $bag);
126124

127-
/**
128-
* @return MetadataBag
129-
*/
130125
public function getMetadataBag(): MetadataBag;
131126
}

0 commit comments

Comments
 (0)