@@ -46,8 +46,7 @@ |
||
| 46 | 46 | |
| 47 | 47 | namespace Platine\Container; |
| 48 | 48 | |
| 49 | -interface ParameterInterface |
|
| 50 | -{ |
|
| 49 | +interface ParameterInterface { |
|
| 51 | 50 | |
| 52 | 51 | /** |
| 53 | 52 | * Return the name of the parameter |
@@ -46,8 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | namespace Platine\Container; |
| 48 | 48 | |
| 49 | -class StorageCollection |
|
| 50 | -{ |
|
| 49 | +class StorageCollection { |
|
| 51 | 50 | |
| 52 | 51 | /** |
| 53 | 52 | * The array of storages |
@@ -66,8 +65,7 @@ discard block |
||
| 66 | 65 | * |
| 67 | 66 | * @param array $storages the container storages |
| 68 | 67 | */ |
| 69 | - public function __construct(array $storages = []) |
|
| 70 | - { |
|
| 68 | + public function __construct(array $storages = []) { |
|
| 71 | 69 | foreach ($storages as $storage) { |
| 72 | 70 | if (!$storage instanceof StorageInterface) { |
| 73 | 71 | throw new \InvalidArgumentException(sprintf( |