Skip to content

Commit

Permalink
Replace some comments with the versions where the functions where added
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes authored and isfedorov committed Feb 6, 2022
1 parent 0208ad8 commit 4b8b609
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SimpleXML/SimpleXML.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ public function addAttribute(
): void {}

/**
* (No version information available, might only be in SVN)<br/>
* Returns the string content
* @link https://php.net/manual/en/simplexmlelement.tostring.php
* @return string the string content on success or an empty string on failure.
* @since 5.3
*/
#[TentativeType]
public function __toString(): string {}
Expand Down Expand Up @@ -419,10 +419,10 @@ public function hasChildren() {}
public function getChildren() {}

/**
* (No version information available, might only be in SVN)<br/>
* Returns the string content
* @link https://php.net/manual/en/simplexmlelement.tostring.php
* @return string the string content on success or an empty string on failure.
* @since 5.3
*/
public function __toString() {}

Expand Down
2 changes: 1 addition & 1 deletion intl/intl.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ public function getLocale(
public function getErrorMessage(): string|false {}

/**
* (No version information available, might only be in SVN)<br/>
* (PHP 5 &gt;= 5.3.2, PECL intl &gt;= 1.0.3)<br/>
* Get sorting key for a string
* @link https://php.net/manual/en/collator.getsortkey.php
* @param string $string <p>
Expand Down
2 changes: 1 addition & 1 deletion openssl/openssl.php
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,6 @@ function openssl_get_md_methods(bool $aliases = false): array {}
function openssl_get_cipher_methods(bool $aliases = false): array {}

/**
* (No version information available, might only be in SVN)<br/>
* Computes shared secret for public value of remote DH key and local DH key
* @link https://php.net/manual/en/function.openssl-dh-compute-key.php
* @param string $public_key <p>
Expand All @@ -1112,6 +1111,7 @@ function openssl_get_cipher_methods(bool $aliases = false): array {}
* DH key
* </p>
* @return string|false computed key on success or false on failure.
* @since 5.3
*/
function openssl_dh_compute_key(string $public_key, #[LanguageLevelTypeAware(["8.0" => "OpenSSLAsymmetricKey"], default: "resource")] $private_key): string|false {}

Expand Down

0 comments on commit 4b8b609

Please sign in to comment.