Completed
Push — master ( 418c7f...d3f828 )
by Artem
05:37
created
src/engine/timezone.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -461,6 +461,10 @@
 block discarded – undo
461 461
         return strtotime($timezone);
462 462
     }
463 463
 
464
+    /**
465
+     * @param integer $timezone
466
+     * @param integer $gmt
467
+     */
464 468
     function timezone_offset_get ($timezone, $gmt)
465 469
     {
466 470
         return $gmt - $timezone;
Please login to merge, or discard this patch.
src/engine/utility.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
  * Finds whether the given UTF-8 encoded string contains valid integer value.
410 410
  *
411 411
  * @param string $str The UTF-8 encoded string being evaluated.
412
- * @return bool TRUE if <i>str</i> contains valid integer value, FALSE otherwise.
412
+ * @return integer TRUE if <i>str</i> contains valid integer value, FALSE otherwise.
413 413
  */
414 414
 function is_intvalue ($str)
415 415
 {
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
  * Finds whether the given UTF-8 encoded string contains valid float value.
422 422
  *
423 423
  * @param string $str The UTF-8 encoded string being evaluated.
424
- * @return bool TRUE if <i>str</i> contains valid float value, FALSE otherwise.
424
+ * @return integer TRUE if <i>str</i> contains valid float value, FALSE otherwise.
425 425
  */
426 426
 function is_floatvalue ($str)
427 427
 {
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
  * (only latin characters, digits, and underline are allowed).
435 435
  *
436 436
  * @param string $str The UTF-8 encoded string being evaluated.
437
- * @return bool TRUE if <i>str</i> contains valid login, FALSE otherwise.
437
+ * @return integer TRUE if <i>str</i> contains valid login, FALSE otherwise.
438 438
  */
439 439
 function is_username ($str)
440 440
 {
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
  * Finds whether the given UTF-8 encoded string contains valid email address.
447 447
  *
448 448
  * @param string $str The UTF-8 encoded string being evaluated.
449
- * @return bool TRUE if <i>str</i> contains valid email address, FALSE otherwise.
449
+ * @return integer TRUE if <i>str</i> contains valid email address, FALSE otherwise.
450 450
  */
451 451
 function is_email ($str)
452 452
 {
Please login to merge, or discard this patch.