We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 58684b4 + 395dd74 commit de28a24Copy full SHA for de28a24
1 file changed
src/wp-includes/load.php
@@ -1464,8 +1464,9 @@ function is_multisite() {
1464
*
1465
* @param mixed $maybeint Data you wish to have converted to a non-negative integer.
1466
* @return int A non-negative integer.
1467
+ * @phpstan-return non-negative-int
1468
*/
-function absint( $maybeint ) {
1469
+function absint( $maybeint ): int {
1470
return abs( (int) $maybeint );
1471
}
1472
0 commit comments