change container interface, using good one
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
namespace Thelia\Action;
|
||||
use Propel\Runtime\Propel;
|
||||
use Propel\Runtime\ServiceContainer\ServiceContainerInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
@@ -53,7 +53,7 @@ class Module extends BaseAction implements EventSubscriberInterface
|
||||
*/
|
||||
protected $container;
|
||||
|
||||
public function __construct(ServiceContainerInterface $container)
|
||||
public function __construct(ContainerInterface $container)
|
||||
{
|
||||
$this->container = $container;
|
||||
}
|
||||
|
||||
@@ -399,13 +399,10 @@ class CheckPermission extends BaseInstall
|
||||
// The 'G' modifier is available since PHP 5.1.0
|
||||
case 'g':
|
||||
$val *= 1024;
|
||||
break;
|
||||
case 'm':
|
||||
$val *= 1024;
|
||||
break;
|
||||
case 'k':
|
||||
$val *= 1024;
|
||||
break;
|
||||
}
|
||||
|
||||
return $val;
|
||||
|
||||
Reference in New Issue
Block a user