@@ -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 | { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package Applications |
|
| 4 | - */ |
|
| 3 | + * @package Applications |
|
| 4 | + */ |
|
| 5 | 5 | namespace Applications\Entity; |
| 6 | 6 | |
| 7 | 7 | use Core\Entity\AbstractIdentifiableEntity; |
@@ -41,6 +41,9 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected $message; |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @param StatusInterface $status |
|
| 46 | + */ |
|
| 44 | 47 | public function __construct($status, $message = '[System]') |
| 45 | 48 | { |
| 46 | 49 | if (!$status instanceof StatusInterface) { |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** SettingsEntityResolverFactory.php */ |
| 11 | 11 | namespace Settings\Repository; |
@@ -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 | { |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @author cbleek |
|
| 8 | - * @license MIT |
|
| 9 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @author cbleek |
|
| 8 | + * @license MIT |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace Jobs\Options; |
| 12 | 12 | |
@@ -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 | { |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** JobReferencesUpdateListener.php */ |
| 11 | 11 | namespace Applications\Repository\Event; |
@@ -51,14 +51,14 @@ discard block |
||
| 51 | 51 | $fileId = new \MongoId($file->id); |
| 52 | 52 | |
| 53 | 53 | $dm->createQueryBuilder('Applications\Entity\Application') |
| 54 | - ->update()->multiple(true) |
|
| 55 | - ->field('attachments')->equals($fileId)->pull($fileId) |
|
| 56 | - ->getQuery()->execute(); |
|
| 54 | + ->update()->multiple(true) |
|
| 55 | + ->field('attachments')->equals($fileId)->pull($fileId) |
|
| 56 | + ->getQuery()->execute(); |
|
| 57 | 57 | |
| 58 | 58 | |
| 59 | 59 | $dm->createQueryBuilder('Applications\Entity\Application') |
| 60 | - ->update()->multiple(true) |
|
| 61 | - ->field('contact.image')->equals($fileId)->set(null) |
|
| 62 | - ->getQuery()->execute(); |
|
| 60 | + ->update()->multiple(true) |
|
| 61 | + ->field('contact.image')->equals($fileId)->set(null) |
|
| 62 | + ->getQuery()->execute(); |
|
| 63 | 63 | } |
| 64 | 64 | } |
@@ -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 | { |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** JobReferencesUpdateListener.php */ |
| 11 | 11 | namespace Applications\Repository\Event; |
@@ -56,8 +56,8 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | foreach ($document->getAttachments() as $attachment) { |
| 58 | 58 | $attachment->getPermissions() |
| 59 | - ->clear() |
|
| 60 | - ->inherit($permissions); |
|
| 59 | + ->clear() |
|
| 60 | + ->inherit($permissions); |
|
| 61 | 61 | if ($isUpdate) { |
| 62 | 62 | $uow->computeChangeSet( |
| 63 | 63 | $dm->getClassMetadata(get_class($attachment)), |
@@ -68,8 +68,8 @@ discard block |
||
| 68 | 68 | |
| 69 | 69 | if ($image = $document->contact->image) { |
| 70 | 70 | $image->getPermissions() |
| 71 | - ->clear() |
|
| 72 | - ->inherit($permissions); |
|
| 71 | + ->clear() |
|
| 72 | + ->inherit($permissions); |
|
| 73 | 73 | if ($isUpdate) { |
| 74 | 74 | $uow->computeChangeSet( |
| 75 | 75 | $dm->getClassMetadata(get_class($image)), |
@@ -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 | { |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** SettingsEntityResolverFactory.php */ |
| 11 | 11 | namespace Settings\Repository; |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * - injects the UserRepository fetched from the service manager. |
| 22 | 22 | * |
| 23 | 23 | * @param ServiceLocatorInterface $serviceLocator |
| 24 | - * @return \Auth\Adapter\ExternalApplication |
|
| 24 | + * @return \Zend\Permissions\Acl\AclInterface |
|
| 25 | 25 | * @see \Zend\ServiceManager\FactoryInterface::createService() |
| 26 | 26 | */ |
| 27 | 27 | public function createService(ServiceLocatorInterface $serviceLocator) |
@@ -22,8 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * - Injects the AuthenticationService |
| 24 | 24 | * |
| 25 | - * @param ServiceLocatorInterface $helpers |
|
| 26 | - * @return \Auth\View\Helper\Auth |
|
| 25 | + * @return CheckPermissionsListener |
|
| 27 | 26 | * @see \Zend\ServiceManager\FactoryInterface::createService() |
| 28 | 27 | */ |
| 29 | 28 | public function createService(ServiceLocatorInterface $serviceLocator) |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** SettingsEntityResolverFactory.php */ |
| 11 | 11 | namespace Settings\Repository; |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | /** |
| 64 | 64 | * Gets the provider identifier used by HybridAuth. |
| 65 | 65 | * |
| 66 | - * @return string|null |
|
| 66 | + * @return string |
|
| 67 | 67 | */ |
| 68 | 68 | public function getProvider() |
| 69 | 69 | { |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** SettingsEntityResolverFactory.php */ |
| 11 | 11 | namespace Settings\Repository; |