Skip to content

Commit

Permalink
Docs: add docblock for global constant
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Oct 10, 2023
1 parent d39dbfe commit 07f87ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/Requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@

// Prevent the deprecation notice from being thrown twice.
if (!defined('REQUESTS_SILENCE_PSR0_DEPRECATIONS')) {

/**
* Constant to silence deprecation notices about use of the old PSR-0 based class names.
*
* @var bool
*/
define('REQUESTS_SILENCE_PSR0_DEPRECATIONS', true);
}
}
Expand Down

0 comments on commit 07f87ca

Please sign in to comment.