|
@@ -35,7 +35,7 @@ |
|
|
block discarded – undo |
|
35
|
35
|
* @param array $settings used to pass to the Entity instance anything that would be done via DIC if it was a service |
|
36
|
36
|
* @throws \InvalidArgumentException |
|
37
|
37
|
*/ |
|
38
|
|
- public function __construct(eZRepository $repository, Content $content=null, Location $location=null, array $settings = array()) |
|
|
38
|
+ public function __construct(eZRepository $repository, Content $content = null, Location $location = null, array $settings = array()) |
|
39
|
39
|
{ |
|
40
|
40
|
if ($content == null && $location == null) { |
|
41
|
41
|
throw new \InvalidArgumentException('Trying to create Entity with no content or location'); |
Please login to merge, or discard this patch.