diff --git a/src/Framework/Assert.php b/src/Framework/Assert.php index 5ec847d0122..2196e7efff4 100644 --- a/src/Framework/Assert.php +++ b/src/Framework/Assert.php @@ -2337,7 +2337,7 @@ public static function isTrue() /** * @param callable $callback * - * @return callback + * @return Callback */ public static function callback($callback) { diff --git a/src/Framework/Assert/Functions.php b/src/Framework/Assert/Functions.php index 09bee2fde7f..6b604f7c097 100644 --- a/src/Framework/Assert/Functions.php +++ b/src/Framework/Assert/Functions.php @@ -1323,7 +1323,7 @@ function attributeEqualTo($attributeName, $value, $delta = 0.0, $maxDepth = 10, * * @param callable $callback * - * @return callback + * @return Callback */ function callback($callback) {