@@ -404,7 +404,7 @@ |
||
404 | 404 | /** |
405 | 405 | * {@inheritDoc} |
406 | 406 | * @see \Applications\Entity\ApplicationInterface::getSummary() |
407 | - * @return Application |
|
407 | + * @return string |
|
408 | 408 | */ |
409 | 409 | public function getSummary() |
410 | 410 | { |
@@ -446,7 +446,7 @@ |
||
446 | 446 | public function getCv() |
447 | 447 | { |
448 | 448 | if (is_null($this->cv)) { |
449 | - $this->cv= new Cv(); |
|
449 | + $this->cv = new Cv(); |
|
450 | 450 | } |
451 | 451 | return $this->cv; |
452 | 452 | } |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * Gets the the maximum number of allowed attachments |
123 | 123 | * |
124 | - * @return string |
|
124 | + * @return integer |
|
125 | 125 | */ |
126 | 126 | public function getAttachmentsCount() |
127 | 127 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Gets the the maximum size of contact images in bytes |
144 | 144 | * |
145 | - * @return string |
|
145 | + * @return integer |
|
146 | 146 | */ |
147 | 147 | public function getContactImageMaxSize() |
148 | 148 | { |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @var array $attachmentsMimeType |
37 | 37 | */ |
38 | - protected $attachmentsMimeType = array('image','applications/pdf', |
|
38 | + protected $attachmentsMimeType = array('image', 'applications/pdf', |
|
39 | 39 | 'application/x-pdf', |
40 | 40 | 'application/acrobat', |
41 | 41 | 'applications/vnd.pdf', |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | */ |
234 | 234 | public function setAllowSubsequentAttachmentUpload($allowSubsequentAttachmentUpload) |
235 | 235 | { |
236 | - $this->allowSubsequentAttachmentUpload = (bool)$allowSubsequentAttachmentUpload; |
|
236 | + $this->allowSubsequentAttachmentUpload = (bool) $allowSubsequentAttachmentUpload; |
|
237 | 237 | |
238 | 238 | return $this; |
239 | 239 | } |
@@ -35,8 +35,8 @@ |
||
35 | 35 | /** |
36 | 36 | * Updates fiile permissions on Flush |
37 | 37 | * |
38 | - * @param OnFlushEventArgs $eventArgs |
|
39 | - * @return boolean |
|
38 | + * @param LifecycleEventArgs $eventArgs |
|
39 | + * @return boolean|null |
|
40 | 40 | */ |
41 | 41 | public function postRemoveEntity(LifecycleEventArgs $eventArgs) |
42 | 42 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * Updates fiile permissions on Flush |
36 | 36 | * |
37 | 37 | * @param OnFlushEventArgs $eventArgs |
38 | - * @return boolean |
|
38 | + * @return boolean|null |
|
39 | 39 | */ |
40 | 40 | public function onFlush(OnFlushEventArgs $eventArgs) |
41 | 41 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $dm = $eventArgs->getDocumentManager(); |
43 | 43 | $uow = $dm->getUnitOfWork(); |
44 | 44 | |
45 | - $filter = function ($element) { |
|
45 | + $filter = function($element) { |
|
46 | 46 | return $element instanceof ApplicationInterface |
47 | 47 | && $element->getPermissions()->hasChanged(); |
48 | 48 | }; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @see \Zend\ServiceManager\FactoryInterface::createService() |
27 | 27 | * @param ServiceLocatorInterface $serviceLocator |
28 | - * @return \Applications\Repository\Filter\PaginationQuery|mixed |
|
28 | + * @return PaginationQuery |
|
29 | 29 | */ |
30 | 30 | public function createService(ServiceLocatorInterface $serviceLocator) |
31 | 31 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | public function createService(ServiceLocatorInterface $serviceLocator) |
31 | 31 | { |
32 | - $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService'); |
|
32 | + $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService'); |
|
33 | 33 | $filter = new PaginationQuery($auth); |
34 | 34 | return $filter; |
35 | 35 | } |
@@ -57,7 +57,6 @@ |
||
57 | 57 | * Attach to an event manager |
58 | 58 | * |
59 | 59 | * @param EventManagerInterface $events |
60 | - * @param integer $priority |
|
61 | 60 | */ |
62 | 61 | public function attach(EventManagerInterface $events) |
63 | 62 | { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | $eventManager = $event->getTarget()->getEventManager(); |
127 | 127 | $results = $eventManager->trigger(MvcEvent::EVENT_DISPATCH_ERROR, $event); |
128 | 128 | if (count($results)) { |
129 | - $return = $results->last(); |
|
129 | + $return = $results->last(); |
|
130 | 130 | } else { |
131 | 131 | $return = $event->getParams(); |
132 | 132 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | /** |
42 | 42 | * {@inheritDoc} |
43 | - * @return GroupsUsersCollection |
|
43 | + * @return GroupUsersCollection |
|
44 | 44 | * @see \Core\Form\ViewPartialProviderInterface::setViewPartial() |
45 | 45 | */ |
46 | 46 | public function setViewPartial($partial) |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * {@inheritDoc} |
35 | - * @return UserInfoContainer |
|
35 | + * @return string |
|
36 | 36 | * @see \Core\Form\ViewPartialProviderInterface::getViewPartial() |
37 | 37 | */ |
38 | 38 | public function getViewPartial() |
@@ -121,7 +121,7 @@ |
||
121 | 121 | /** |
122 | 122 | * Sets the From: of the mail header |
123 | 123 | * |
124 | - * @param $fromName |
|
124 | + * @param string $fromName |
|
125 | 125 | * @return $this |
126 | 126 | */ |
127 | 127 | public function setFromName($fromName) |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * |
62 | 62 | * @var array() |
63 | 63 | */ |
64 | - protected $enableLogins = ['facebook','xing','linkedin','google','github']; |
|
64 | + protected $enableLogins = ['facebook', 'xing', 'linkedin', 'google', 'github']; |
|
65 | 65 | |
66 | 66 | /** |
67 | 67 | * Enable Registration |