@@ -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 | } |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | /** |
| 21 | 21 | * A new application has been received |
| 22 | 22 | */ |
| 23 | - const INCOMING = 'incoming'; |
|
| 23 | + const INCOMING = 'incoming'; |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * An acknowledgement of receipt has been sent |
@@ -30,12 +30,12 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * An applicant ist invited to in interview |
| 32 | 32 | */ |
| 33 | - const INVITED = 'invited'; |
|
| 33 | + const INVITED = 'invited'; |
|
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * The applicant has been canceled |
| 37 | 37 | */ |
| 38 | - const REJECTED = 'rejected'; |
|
| 38 | + const REJECTED = 'rejected'; |
|
| 39 | 39 | |
| 40 | 40 | public function __construct($status = self::INCOMING); |
| 41 | 41 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * |
| 25 | 25 | * @var string |
| 26 | 26 | */ |
| 27 | - protected $label = /*@translate*/ 'Cover Letter'; |
|
| 27 | + protected $label = /*@translate*/ 'Cover Letter'; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * {@inheritDoc} |
@@ -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 | public function findByUri($uri, $create = false) |
| 27 | 27 | { |
| 28 | - $subscriber = $this->findOneBy(array( "uri" => $uri )); |
|
| 28 | + $subscriber = $this->findOneBy(array("uri" => $uri)); |
|
| 29 | 29 | if (!isset($subscriber) && $create) { |
| 30 | 30 | $subscriber = $this->create(); |
| 31 | 31 | $subscriber->uri = $uri; |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | $hybridAuth->restoreSessionData($sessionDataStored); |
| 136 | 136 | } |
| 137 | 137 | $adapter = $hybridAuth->authenticate($this->providerKey); |
| 138 | - $sessionData = $hybridAuth->getSessionData(); |
|
| 138 | + $sessionData = $hybridAuth->getSessionData(); |
|
| 139 | 139 | if ($sessionData != $sessionDataStored) { |
| 140 | 140 | $user->updateAuthSession($this->providerKey, $sessionData); |
| 141 | 141 | } |
@@ -177,7 +177,7 @@ |
||
| 177 | 177 | /** {@inheritdoc} */ |
| 178 | 178 | public function setLogin($login) |
| 179 | 179 | { |
| 180 | - $this->login = trim((String)$login); |
|
| 180 | + $this->login = trim((String) $login); |
|
| 181 | 181 | return $this; |
| 182 | 182 | } |
| 183 | 183 | |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | const NAMESPACE_INFO = 'info'; |
| 22 | 22 | const NAMESPACE_WARNING = 'warning'; |
| 23 | 23 | const NAMESPACE_DANGER = 'danger'; |
| 24 | - const NAMESPACE_SUCCESS = 'success'; |
|
| 24 | + const NAMESPACE_SUCCESS = 'success'; |
|
| 25 | 25 | |
| 26 | 26 | protected $namespace2priority = array( |
| 27 | 27 | self::NAMESPACE_INFO => NotificationEntity::INFO, |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | public function setListener($listener) |
| 61 | 61 | { |
| 62 | - $listener->getSharedManager()->attach('*', NotificationEvent::EVENT_NOTIFICATION_HTML, array($this,'createOutput'), 1); |
|
| 62 | + $listener->getSharedManager()->attach('*', NotificationEvent::EVENT_NOTIFICATION_HTML, array($this, 'createOutput'), 1); |
|
| 63 | 63 | $this->notificationListener = $listener; |
| 64 | 64 | } |
| 65 | 65 | |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | public function getList($namespace, $callback) |
| 136 | 136 | { |
| 137 | 137 | $session = new Container($namespace); |
| 138 | - $params = $session->params?:array(); |
|
| 138 | + $params = $session->params ?: array(); |
|
| 139 | 139 | if (!$session->list) { |
| 140 | 140 | $session->list = is_array($callback) |
| 141 | 141 | ? call_user_func($callback, $session->params) |