Skip to content

Commit

Permalink
[phpstorm-stubs] deprecate dba_fetch with 3 parameters since 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Nov 1, 2023
1 parent 1720f96 commit 99d8bca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dba/dba.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

// Start of dba v.
use JetBrains\PhpStorm\Deprecated;
use JetBrains\PhpStorm\Internal\LanguageLevelTypeAware;
use JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable;

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

/**
Expand Down

0 comments on commit 99d8bca

Please sign in to comment.