mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Standardise the type name for booleans and integers.
This brings these docs inline with the documentation standards. Props ravipatel, justinahinon Fixes #51426 git-svn-id: https://develop.svn.wordpress.org/trunk@49120 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -75,7 +75,7 @@ class Text_Diff {
|
||||
*
|
||||
* @since Text_Diff 1.1.0
|
||||
*
|
||||
* @return integer The number of new lines
|
||||
* @return int The number of new lines
|
||||
*/
|
||||
function countAddedLines()
|
||||
{
|
||||
@@ -94,7 +94,7 @@ class Text_Diff {
|
||||
*
|
||||
* @since Text_Diff 1.1.0
|
||||
*
|
||||
* @return integer The number of deleted lines
|
||||
* @return int The number of deleted lines
|
||||
*/
|
||||
function countDeletedLines()
|
||||
{
|
||||
@@ -139,7 +139,7 @@ class Text_Diff {
|
||||
/**
|
||||
* Checks for an empty diff.
|
||||
*
|
||||
* @return boolean True if two sequences were identical.
|
||||
* @return bool True if two sequences were identical.
|
||||
*/
|
||||
function isEmpty()
|
||||
{
|
||||
@@ -156,7 +156,7 @@ class Text_Diff {
|
||||
*
|
||||
* This is mostly for diagnostic purposes.
|
||||
*
|
||||
* @return integer The length of the LCS.
|
||||
* @return int The length of the LCS.
|
||||
*/
|
||||
function lcs()
|
||||
{
|
||||
@@ -210,7 +210,7 @@ class Text_Diff {
|
||||
* with array_walk().
|
||||
*
|
||||
* @param string $line The line to trim.
|
||||
* @param integer $key The index of the line in the array. Not used.
|
||||
* @param int $key The index of the line in the array. Not used.
|
||||
*/
|
||||
static function trimNewlines(&$line, $key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user