@@ -44,6 +44,7 @@ discard block |
||
44 | 44 | * Registers an existing service to be used as repository for a given content type |
45 | 45 | * @var RepositoryInterface $service |
46 | 46 | * @var string $contentTypeIdentifier when null, we will ask the Repository to see if it already has its own $contentTypeIdentifier set up |
47 | + * @param integer $contentTypeIdentifier |
|
47 | 48 | */ |
48 | 49 | public function registerService(RepositoryInterface $service, $contentTypeIdentifier) |
49 | 50 | { |
@@ -196,7 +197,7 @@ discard block |
||
196 | 197 | } |
197 | 198 | |
198 | 199 | /** |
199 | - * @param mixed $id |
|
200 | + * @param integer $id |
|
200 | 201 | * @return string |
201 | 202 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If a content type with the given id and status DEFINED can not be found |
202 | 203 | */ |
@@ -35,7 +35,7 @@ |
||
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'); |