Skip to content

Commit 3744bbc

Browse files
committed
fix: php doc tag
1 parent e638dc3 commit 3744bbc

File tree

4 files changed

+0
-22
lines changed

4 files changed

+0
-22
lines changed

src/Linna/Session/EncryptedSessionHandler.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ public function __construct(
7878
*
7979
* @link https://php.net/manual/en/sessionhandlerinterface.open.php
8080
* @see session_name()
81-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
8281
*/
8382
public function open(string $path, string $name): bool
8483
{
@@ -100,7 +99,6 @@ public function open(string $path, string $name): bool
10099
* Note this value is returned internally to PHP for processing.
101100
*
102101
* @link https://php.net/manual/en/sessionhandlerinterface.gc.php
103-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
104102
*/
105103
public function gc(int $max_lifetime): int|false
106104
{
@@ -127,7 +125,6 @@ public function gc(int $max_lifetime): int|false
127125
* <b><code>false</code></b>. Note this value is returned internally to PHP for processing.
128126
*
129127
* @link https://php.net/manual/en/sessionhandlerinterface.read.php
130-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
131128
*/
132129
public function read(string $id): string|false
133130
{
@@ -169,7 +166,6 @@ public function read(string $id): string|false
169166
* failure). Note this value is returned internally to PHP for processing.
170167
*
171168
* @link https://php.net/manual/en/sessionhandlerinterface.write.php
172-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
173169
*/
174170
public function write(string $id, string $data): bool
175171
{
@@ -193,7 +189,6 @@ public function write(string $id, string $data): bool
193189
* failure). Note this value is returned internally to PHP for processing.
194190
*
195191
* @link https://php.net/manual/en/sessionhandlerinterface.close.php
196-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
197192
*/
198193
public function close(): bool
199194
{
@@ -212,7 +207,6 @@ public function close(): bool
212207
* failure). Note this value is returned internally to PHP for processing.
213208
*
214209
* @link https://php.net/manual/en/sessionhandlerinterface.destroy.php
215-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
216210
*/
217211
public function destroy(string $id): bool
218212
{

src/Linna/Session/MemcachedSessionHandler.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public function __construct(
5252
*
5353
* @link https://php.net/manual/en/sessionhandlerinterface.open.php
5454
* @see session_name()
55-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
5655
*/
5756
public function open(string $path, string $name): bool
5857
{
@@ -76,7 +75,6 @@ public function open(string $path, string $name): bool
7675
* Note this value is returned internally to PHP for processing.
7776
*
7877
* @link https://php.net/manual/en/sessionhandlerinterface.gc.php
79-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
8078
*/
8179
public function gc(int $max_lifetime): int|false
8280
{
@@ -104,7 +102,6 @@ public function gc(int $max_lifetime): int|false
104102
* <b><code>false</code></b>. Note this value is returned internally to PHP for processing.
105103
*
106104
* @link https://php.net/manual/en/sessionhandlerinterface.read.php
107-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
108105
*/
109106
public function read(string $id): string|false
110107
{
@@ -132,7 +129,6 @@ public function read(string $id): string|false
132129
* failure). Note this value is returned internally to PHP for processing.
133130
*
134131
* @link https://php.net/manual/en/sessionhandlerinterface.write.php
135-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
136132
*/
137133
public function write(string $id, string $data): bool
138134
{
@@ -147,7 +143,6 @@ public function write(string $id, string $data): bool
147143
* @return bool The return value (usually <b><code>true</code></b> on success, <b><code>false</code></b> on failure). Note this value is returned internally to PHP for processing.
148144
*
149145
* @link https://php.net/manual/en/sessionhandlerinterface.close.php
150-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
151146
*/
152147
public function close(): bool
153148
{
@@ -164,7 +159,6 @@ public function close(): bool
164159
* @return bool The return value (usually <b><code>true</code></b> on success, <b><code>false</code></b> on failure). Note this value is returned internally to PHP for processing.
165160
*
166161
* @link https://php.net/manual/en/sessionhandlerinterface.destroy.php
167-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
168162
*/
169163
public function destroy(string $id): bool
170164
{

src/Linna/Session/PdoSessionHandler.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public function __construct(
7171
*
7272
* @link https://php.net/manual/en/sessionhandlerinterface.open.php
7373
* @see session_name()
74-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
7574
*/
7675
public function open(string $path, string $name): bool
7776
{
@@ -90,7 +89,6 @@ public function open(string $path, string $name): bool
9089
* @return int|false Returns the number of deleted sessions on success, or <b><code>false</code></b> on failure. Note this value is returned internally to PHP for processing.
9190
*
9291
* @link https://php.net/manual/en/sessionhandlerinterface.gc.php
93-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
9492
*/
9593
public function gc(int $max_lifetime): int|false
9694
{
@@ -121,7 +119,6 @@ public function gc(int $max_lifetime): int|false
121119
* @return string|false Returns an encoded string of the read data. If nothing was read, it must return <b><code>false</code></b>. Note this value is returned internally to PHP for processing.
122120
*
123121
* @link https://php.net/manual/en/sessionhandlerinterface.read.php
124-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
125122
*/
126123
public function read(string $id): string|false
127124
{
@@ -152,7 +149,6 @@ public function read(string $id): string|false
152149
* @return bool The return value (usually <b><code>true</code></b> on success, <b><code>false</code></b> on failure). Note this value is returned internally to PHP for processing.
153150
*
154151
* @link https://php.net/manual/en/sessionhandlerinterface.write.php
155-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
156152
*/
157153
public function write(string $id, string $data): bool
158154
{
@@ -175,7 +171,6 @@ public function write(string $id, string $data): bool
175171
* @return bool The return value (usually <b><code>true</code></b> on success, <b><code>false</code></b> on failure). Note this value is returned internally to PHP for processing.
176172
*
177173
* @link https://php.net/manual/en/sessionhandlerinterface.close.php
178-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
179174
*/
180175
public function close(): bool
181176
{
@@ -192,7 +187,6 @@ public function close(): bool
192187
* @return bool The return value (usually <b><code>true</code></b> on success, <b><code>false</code></b> on failure). Note this value is returned internally to PHP for processing.
193188
*
194189
* @link https://php.net/manual/en/sessionhandlerinterface.destroy.php
195-
* @since PHP 5 >= 5.4.0, PHP 7, PHP 8
196190
*/
197191
public function destroy(string $id): bool
198192
{

src/Linna/Shared/ArrayAccessTrait.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ trait ArrayAccessTrait
3939
* returned.
4040
*
4141
* @link https://php.net/manual/en/arrayaccess.offsetexists.php
42-
* @since PHP 5, PHP 7, PHP 8
4342
*/
4443
public function offsetExists(mixed $offset): bool
4544
{
@@ -57,7 +56,6 @@ public function offsetExists(mixed $offset): bool
5756
* @return mixed Can return all value types.
5857
*
5958
* @link https://php.net/manual/en/arrayaccess.offsetget.php
60-
* @since PHP 5, PHP 7, PHP 8
6159
*/
6260
public function offsetGet(mixed $offset): mixed
6361
{
@@ -75,7 +73,6 @@ public function offsetGet(mixed $offset): mixed
7573
* @return void No value is returned.
7674
*
7775
* @link https://php.net/manual/en/arrayaccess.offsetset.php
78-
* @since PHP 5, PHP 7, PHP 8
7976
*/
8077
public function offsetSet(mixed $offset, mixed $value): void
8178
{
@@ -94,7 +91,6 @@ public function offsetSet(mixed $offset, mixed $value): void
9491
* @return void No value is returned.
9592
*
9693
* @link https://php.net/manual/en/arrayaccess.offsetunset.php
97-
* @since PHP 5, PHP 7, PHP 8
9894
*/
9995
public function offsetUnset(mixed $offset): void
10096
{

0 commit comments

Comments
 (0)