|
@@ -693,7 +693,7 @@ discard block |
|
|
block discarded – undo |
|
693
|
693
|
* - caches the formatting data from the setting for optimization. |
|
694
|
694
|
* |
|
695
|
695
|
* @param float $number A number |
|
696
|
|
- * @param bool|int $override_decimal_count If set, will use the specified number of decimal places. Otherwise it's automatically determined |
|
|
696
|
+ * @param integer $override_decimal_count If set, will use the specified number of decimal places. Otherwise it's automatically determined |
|
697
|
697
|
* @return string A formatted number |
|
698
|
698
|
*/ |
|
699
|
699
|
function comma_format($number, $override_decimal_count = false) |
|
@@ -5869,7 +5869,7 @@ discard block |
|
|
block discarded – undo |
|
5869
|
5869
|
* It assumes the data is already a string. |
|
5870
|
5870
|
* @param string $data The data to print |
|
5871
|
5871
|
* @param string $type The content type. Defaults to Json. |
|
5872
|
|
- * @return void |
|
|
5872
|
+ * @return false|null |
|
5873
|
5873
|
*/ |
|
5874
|
5874
|
function smf_serverResponse($data = '', $type = 'content-type: application/json') |
|
5875
|
5875
|
{ |
|
@@ -6351,7 +6351,7 @@ discard block |
|
|
block discarded – undo |
|
6351
|
6351
|
* |
|
6352
|
6352
|
* @param string $iri The IRI to test. |
|
6353
|
6353
|
* @param int $flags Optional flags to pass to filter_var() |
|
6354
|
|
- * @return string|bool Either the original IRI, or false if the IRI was invalid. |
|
|
6354
|
+ * @return string|false Either the original IRI, or false if the IRI was invalid. |
|
6355
|
6355
|
*/ |
|
6356
|
6356
|
function validate_iri($iri, $flags = null) |
|
6357
|
6357
|
{ |
Please login to merge, or discard this patch.