Skip to content

Commit 99d8bca

Browse files
committed
[phpstorm-stubs] deprecate dba_fetch with 3 parameters since 8.3
https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures
1 parent 1720f96 commit 99d8bca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dba/dba.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
// Start of dba v.
4+
use JetBrains\PhpStorm\Deprecated;
45
use JetBrains\PhpStorm\Internal\LanguageLevelTypeAware;
56
use JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable;
67

@@ -238,6 +239,7 @@ function dba_fetch($key, $handle): string|false {}
238239
* @return string|false the associated string if the key/data pair is found, <b>FALSE</b>
239240
* otherwise.
240241
*/
242+
#[Deprecated(since: 8.3)]
241243
function dba_fetch($key, $skip, $dba): string|false {}
242244

243245
/**

0 commit comments

Comments
 (0)