diff vendor/paragonie/random_compat/lib/cast_to_int.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children c2387f117808
line wrap: on
line diff
--- a/vendor/paragonie/random_compat/lib/cast_to_int.php	Fri Feb 23 15:51:18 2018 +0000
+++ b/vendor/paragonie/random_compat/lib/cast_to_int.php	Fri Feb 23 15:52:07 2018 +0000
@@ -38,9 +38,10 @@
      * through.
      * 
      * @param int|float $number    The number we want to convert to an int
-     * @param boolean   $fail_open Set to true to not throw an exception
+     * @param bool      $fail_open Set to true to not throw an exception
      * 
      * @return float|int
+     * @psalm-suppress InvalidReturnType
      *
      * @throws TypeError
      */