Skip to content

Commit

Permalink
Restored return types on Robo::createContainer() / Robo::createDefaul…
Browse files Browse the repository at this point in the history
…tContainer() and param type on Robo::finalizeContainer().
  • Loading branch information
joeparsons committed Sep 14, 2020
1 parent dea091b commit 1a6eab9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Robo.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static function loadConfiguration($paths, $config = null)
* @param null|\Consolidation\Config\ConfigInterface $config
* @param null|\Composer\Autoload\ClassLoader $classLoader
*
* @return \Psr\Container\ContainerInterface
* @return \League\Container\Container|\Psr\Container\ContainerInterface
*/
public static function createContainer($app = null, $config = null, $classLoader = null)
{
Expand Down Expand Up @@ -180,7 +180,7 @@ public static function createContainer($app = null, $config = null, $classLoader
*
* @deprecated Use createContainer instead
*
* @return \Psr\Container\ContainerInterface
* @return \League\Container\Container|\Psr\Container\ContainerInterface
*/
public static function createDefaultContainer($input = null, $output = null, $app = null, $config = null, $classLoader = null)
{
Expand Down Expand Up @@ -209,9 +209,9 @@ public static function createDefaultContainer($input = null, $output = null, $ap
* Do final initialization to the provided container. Make any necessary
* modifications to the container before calling this method.
*
* @param Container $container
* @param ContainerInterface $container
*/
public static function finalizeContainer(Container $container)
public static function finalizeContainer(ContainerInterface $container)
{
$app = $container->get('application');

Expand Down

0 comments on commit 1a6eab9

Please sign in to comment.