@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
39 | - * @param $name |
|
39 | + * @param string $name |
|
40 | 40 | * |
41 | 41 | * @return mixed |
42 | 42 | */ |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * @param array $data |
61 | 61 | * |
62 | - * @return mixed |
|
62 | + * @return EntityInterface |
|
63 | 63 | */ |
64 | 64 | public function create(array $data = null, $persist = false) |
65 | 65 | { |
@@ -26,7 +26,6 @@ |
||
26 | 26 | * Attach to an event manager |
27 | 27 | * |
28 | 28 | * @param EventManagerInterface $events |
29 | - * @param integer $priority |
|
30 | 29 | */ |
31 | 30 | public function attach(EventManagerInterface $events) |
32 | 31 | { |
@@ -24,6 +24,9 @@ |
||
24 | 24 | $this->dm = $dm; |
25 | 25 | } |
26 | 26 | |
27 | + /** |
|
28 | + * @param string $name |
|
29 | + */ |
|
27 | 30 | public function get($name) |
28 | 31 | { |
29 | 32 | if (!class_exists($name)) { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | protected $locationEngineType; |
45 | 45 | |
46 | 46 | /** |
47 | - * @param $locationEngineType |
|
47 | + * @param string $locationEngineType |
|
48 | 48 | */ |
49 | 49 | public function setLocationEngineType($locationEngineType) |
50 | 50 | { |
@@ -525,7 +525,7 @@ discard block |
||
525 | 525 | |
526 | 526 | /** |
527 | 527 | * Gets the number of unread applications |
528 | - * @return Collection |
|
528 | + * @return integer |
|
529 | 529 | */ |
530 | 530 | public function getUnreadApplications() |
531 | 531 | { |
@@ -971,7 +971,7 @@ discard block |
||
971 | 971 | } |
972 | 972 | |
973 | 973 | /** |
974 | - * @return Job |
|
974 | + * @return JobSnapshot |
|
975 | 975 | */ |
976 | 976 | public function makeSnapshot() |
977 | 977 | { |
@@ -250,6 +250,9 @@ |
||
250 | 250 | return $container; |
251 | 251 | } |
252 | 252 | |
253 | + /** |
|
254 | + * @param string $script |
|
255 | + */ |
|
253 | 256 | protected function getErrorViewModel($script) |
254 | 257 | { |
255 | 258 | $this->getResponse()->setStatusCode(Response::STATUS_CODE_500); |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * @param Params $params |
60 | 60 | * @param bool $allowDraft |
61 | 61 | * |
62 | - * @return object|\Organizations\Entity\Organization |
|
62 | + * @return \Organizations\Entity\OrganizationInterface |
|
63 | 63 | * @throws UnauthorizedAccessException |
64 | 64 | * @throws \Doctrine\ODM\MongoDB\LockException |
65 | 65 | * @throws NotFoundException |
@@ -87,7 +87,7 @@ |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | - * @param LifecycleEventArgs $eventArgs |
|
90 | + * @param PostFlushEventArgs $eventArgs |
|
91 | 91 | */ |
92 | 92 | public function postFlush(PostFlushEventArgs $eventArgs) |
93 | 93 | { |
@@ -31,6 +31,11 @@ discard block |
||
31 | 31 | return $this->hydrator; |
32 | 32 | } |
33 | 33 | |
34 | + /** |
|
35 | + * @param string $name |
|
36 | + * |
|
37 | + * @return callable |
|
38 | + */ |
|
34 | 39 | protected function getPlugin($name) |
35 | 40 | { |
36 | 41 | $plugin = null; |
@@ -69,6 +74,9 @@ discard block |
||
69 | 74 | $this->add($this->formManager->get('DefaultButtonsFieldset')); |
70 | 75 | } |
71 | 76 | |
77 | + /** |
|
78 | + * @return string |
|
79 | + */ |
|
72 | 80 | abstract public function getCoreFieldset(); |
73 | 81 | |
74 | 82 | /** |