PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | src/Container/Container.php +4 -2 4.16.9 → 4.17.0 View file →
@@ -876,10 +876,11 @@
876 876 * @param Closure|string $abstract
877 877 * @param Closure|null $callback
878 878 *
879 879 * @return void
880 + * @since 4.17.0 Declare the nullable parameter explicitly.
880 881 */
881 - public function resolving($abstract, Closure $callback = null)
882 + public function resolving($abstract, ?Closure $callback = null)
882 883 {
883 884 if (is_string($abstract)) {
884 885 $abstract = $this->getAlias($abstract);
885 886 }
@@ -897,10 +898,11 @@
897 898 * @param Closure|string $abstract
898 899 * @param Closure|null $callback
899 900 *
900 901 * @return void
902 + * @since 4.17.0 Declare the nullable parameter explicitly.
901 903 */
902 - public function afterResolving($abstract, Closure $callback = null)
904 + public function afterResolving($abstract, ?Closure $callback = null)
903 905 {
904 906 if (is_string($abstract)) {
905 907 $abstract = $this->getAlias($abstract);
906 908 }