From 3579d5144968cd197f9434b35fa8f84f584abe40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Thu, 27 Apr 2023 22:26:04 -0300 Subject: [PATCH 1/3] Fix PHPdoc in the App callback function --- src/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.php b/src/App.php index ae61c3f..3408831 100644 --- a/src/App.php +++ b/src/App.php @@ -448,7 +448,7 @@ public static function give($implementation) * @param string $method The method that should be called on the resolved implementation with the * specified array arguments. * - * @return mixed The called method return value. + * @return callable The callback function. * * @throws ContainerException If the id is not a bound implementation or valid class name. */ From 03b56655fdbe6aad9c6ecfd5eeccc481feb0ed6c Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Fri, 28 Apr 2023 09:35:23 +0200 Subject: [PATCH 2/3] chore(.deepsource) remove config file --- .deepsource.toml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .deepsource.toml diff --git a/.deepsource.toml b/.deepsource.toml deleted file mode 100644 index 15b54e2..0000000 --- a/.deepsource.toml +++ /dev/null @@ -1,7 +0,0 @@ -version = 1 - -[[analyzers]] -name = "php" - -[[analyzers]] -name = "shell" \ No newline at end of file From 5d3cdef5d012e1fb3efe50e76180e0ab873dd53c Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Fri, 28 Apr 2023 09:36:44 +0200 Subject: [PATCH 3/3] doc(CHANGELOG.md) add 56 changelog entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35df7e2..59a4e8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ to [Semantic Versioning](http://semver.org/). ## [unreleased] Unreleased +### Fixed + +- Return value of the `App::callback` method to be `callable` (thanks @estevao90). + ## [3.3.2] 2023-04-07; ### Fixed