Skip to content

Commit

Permalink
Update SampleTask.php
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfalleiro authored Dec 10, 2019
1 parent d0554f1 commit ce64244
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/SampleTask.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

use \Interop\Container\ContainerInterface;
use \RuntimeException;

class SampleTask {
Expand All @@ -14,7 +13,7 @@ class SampleTask {
* @param ContainerInterface $container
* @return void
*/
public function __construct(ContainerInterface $container)
public function __construct($container)
{
// access container classes
// eg $container->get('redis');
Expand Down

0 comments on commit ce64244

Please sign in to comment.