@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | * |
| 28 | 28 | * @throws ExistingServiceException |
| 29 | 29 | * @throws \InvalidArgumentException |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function register($identifier, $service); |
| 32 | 33 | |
@@ -34,6 +35,7 @@ discard block |
||
| 34 | 35 | * @param string $identifier |
| 35 | 36 | * |
| 36 | 37 | * @throws NonExistingServiceException |
| 38 | + * @return void |
|
| 37 | 39 | */ |
| 38 | 40 | public function unregister($identifier); |
| 39 | 41 | |
@@ -39,12 +39,14 @@ |
||
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * @param MetadataInterface $metadata |
| 42 | + * @return void |
|
| 42 | 43 | */ |
| 43 | 44 | public function add(MetadataInterface $metadata); |
| 44 | 45 | |
| 45 | 46 | /** |
| 46 | 47 | * @param string $alias |
| 47 | 48 | * @param array $configuration |
| 49 | + * @return void |
|
| 48 | 50 | */ |
| 49 | 51 | public function addFromAliasAndConfiguration($alias, array $configuration); |
| 50 | 52 | } |
@@ -23,6 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @param string $code |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function setCode($code); |
| 28 | 29 | } |
@@ -23,6 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @param string $slug |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function setSlug($slug = null); |
| 28 | 29 | } |
@@ -28,11 +28,13 @@ |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param \DateTime $createdAt |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function setCreatedAt(\DateTime $createdAt); |
| 33 | 34 | |
| 34 | 35 | /** |
| 35 | 36 | * @param \DateTime $updatedAt |
| 37 | + * @return void |
|
| 36 | 38 | */ |
| 37 | 39 | public function setUpdatedAt(\DateTime $updatedAt); |
| 38 | 40 | } |
@@ -23,10 +23,17 @@ |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @param bool $enabled |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function setEnabled($enabled); |
| 28 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 29 | 33 | public function enable(); |
| 30 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 31 | 38 | public function disable(); |
| 32 | 39 | } |
@@ -23,6 +23,7 @@ discard block |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @param null|TranslatableInterface $translatable |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function setTranslatable(TranslatableInterface $translatable = null); |
| 28 | 29 | |
@@ -33,6 +34,7 @@ discard block |
||
| 33 | 34 | |
| 34 | 35 | /** |
| 35 | 36 | * @param string $locale |
| 37 | + * @return void |
|
| 36 | 38 | */ |
| 37 | 39 | public function setLocale($locale); |
| 38 | 40 | } |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | * @param ResourceInterface[] $resources |
| 185 | 185 | * @param array $criteria |
| 186 | 186 | * |
| 187 | - * @return ResourceInterface[]|array |
|
| 187 | + * @return ResourceInterface[] |
|
| 188 | 188 | */ |
| 189 | 189 | private function applyCriteria(array $resources, array $criteria) |
| 190 | 190 | { |
@@ -27,17 +27,19 @@ |
||
| 27 | 27 | * @param array $criteria |
| 28 | 28 | * @param array $sorting |
| 29 | 29 | * |
| 30 | - * @return mixed |
|
| 30 | + * @return \Pagerfanta\Pagerfanta |
|
| 31 | 31 | */ |
| 32 | 32 | public function createPaginator(array $criteria = [], array $sorting = []); |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @param ResourceInterface $resource |
| 36 | + * @return void |
|
| 36 | 37 | */ |
| 37 | 38 | public function add(ResourceInterface $resource); |
| 38 | 39 | |
| 39 | 40 | /** |
| 40 | 41 | * @param ResourceInterface $resource |
| 42 | + * @return void |
|
| 41 | 43 | */ |
| 42 | 44 | public function remove(ResourceInterface $resource); |
| 43 | 45 | } |