@@ -46,7 +46,6 @@ |
||
46 | 46 | * Converts the given value so that it can be hydrated by the hydrator. |
47 | 47 | * |
48 | 48 | * @param mixed $value The original value. |
49 | - * @param array $data (optional) The original data for context. |
|
50 | 49 | * |
51 | 50 | * @return mixed Returns the value that should be hydrated. |
52 | 51 | */ |
@@ -103,7 +103,7 @@ |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
106 | - * @return mixed |
|
106 | + * @return string |
|
107 | 107 | */ |
108 | 108 | protected function getJobTitle() |
109 | 109 | { |
@@ -69,6 +69,9 @@ |
||
69 | 69 | return $this; |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param string $network |
|
74 | + */ |
|
72 | 75 | public function getAdapter($network) |
73 | 76 | { |
74 | 77 | if (isset($this->adapters[$network])) { |
@@ -29,7 +29,6 @@ |
||
29 | 29 | {} |
30 | 30 | |
31 | 31 | /** |
32 | - * @param string $network |
|
33 | 32 | * @return \Auth\Entity\SocialProfiles\ProfileInterface|bool |
34 | 33 | */ |
35 | 34 | public function fetch($api) |
@@ -38,6 +38,9 @@ discard block |
||
38 | 38 | protected $country; |
39 | 39 | |
40 | 40 | |
41 | + /** |
|
42 | + * @param string $uri |
|
43 | + */ |
|
41 | 44 | public function __construct($uri, $country="DE", $cache = false) |
42 | 45 | { |
43 | 46 | $this->country = $country; |
@@ -92,6 +95,9 @@ discard block |
||
92 | 95 | return isset($result[0]) ? $result[0] : false; |
93 | 96 | } |
94 | 97 | |
98 | + /** |
|
99 | + * @param string $result |
|
100 | + */ |
|
95 | 101 | protected function processResult($result) |
96 | 102 | { |
97 | 103 | return $result; |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * @throws Mapping\MappingException |
53 | 53 | * @throws LockException |
54 | 54 | * @throws UserDeactivatedException |
55 | - * @return null | UserInterface |
|
55 | + * @return null|UserInterface | UserInterface |
|
56 | 56 | */ |
57 | 57 | public function find($id, $lockMode = \Doctrine\ODM\MongoDB\LockMode::NONE, $lockVersion = null, array $options = []) |
58 | 58 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @param array $criteria |
64 | 64 | * @param array $options |
65 | 65 | * @throws UserDeactivatedException |
66 | - * @return null | UserInterface |
|
66 | + * @return null|UserInterface | UserInterface |
|
67 | 67 | */ |
68 | 68 | public function findOneBy(array $criteria, array $options = []) |
69 | 69 | { |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * Creates a User |
93 | 93 | * |
94 | 94 | * @see \Core\Repository\AbstractRepository::create() |
95 | - * @return UserInterface |
|
95 | + * @return \Core\Entity\EntityInterface |
|
96 | 96 | */ |
97 | 97 | public function create(array $data = null) |
98 | 98 | { |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * @param UserInterface $user |
268 | 268 | * @param array $options |
269 | 269 | * @throws UserDeactivatedException |
270 | - * @return null | UserInterface |
|
270 | + * @return null|UserInterface | UserInterface |
|
271 | 271 | */ |
272 | 272 | protected function assertEntity(UserInterface $user = null, array $options) |
273 | 273 | { |
@@ -54,6 +54,7 @@ |
||
54 | 54 | * ManageController constructor. |
55 | 55 | * |
56 | 56 | * @param RepositoryService $repositories |
57 | + * @param ContainerInterface $container |
|
57 | 58 | */ |
58 | 59 | public function __construct( |
59 | 60 | RepositoryService $repositories, |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return mixed |
|
171 | + * @return string |
|
172 | 172 | */ |
173 | 173 | public function getStatus() |
174 | 174 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | } |
177 | 177 | |
178 | 178 | /** |
179 | - * @return mixed |
|
179 | + * @return boolean |
|
180 | 180 | */ |
181 | 181 | public function isPostRequest() |
182 | 182 | { |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * @param $locale |
80 | 80 | * @param $urlHelper |
81 | 81 | * @param array $forms |
82 | - * @param $options |
|
82 | + * @param ModuleOptions $options |
|
83 | 83 | */ |
84 | 84 | public function __construct( |
85 | 85 | AuthenticationService $auth, |