diff --git a/src/Illuminate/Contracts/Foundation/Application.php b/src/Illuminate/Contracts/Foundation/Application.php index d888c8cc0cca..84ce820fc1a5 100644 --- a/src/Illuminate/Contracts/Foundation/Application.php +++ b/src/Illuminate/Contracts/Foundation/Application.php @@ -55,7 +55,7 @@ public function register($provider, $options = [], $force = false); * Register a deferred provider and service. * * @param string $provider - * @param string $service + * @param string|null $service * @return void */ public function registerDeferredProvider($provider, $service = null); diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index 9ba7e5db28fa..3abaa1711b02 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -668,7 +668,7 @@ public function loadDeferredProvider($service) * Register a deferred provider and service. * * @param string $provider - * @param string $service + * @param string|null $service * @return void */ public function registerDeferredProvider($provider, $service = null)