@@ -28,7 +28,7 @@ |
||
28 | 28 | { |
29 | 29 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
30 | 30 | { |
31 | - $auth = $container->get('AuthenticationService'); |
|
31 | + $auth = $container->get('AuthenticationService'); |
|
32 | 32 | $filter = new PaginationQuery($auth); |
33 | 33 | return $filter; |
34 | 34 | } |
@@ -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; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | class JobSelect extends Select implements HeadscriptProviderInterface |
24 | 24 | { |
25 | - private $scripts = [ 'modules/Applications/js/form.job-select.js' ]; |
|
25 | + private $scripts = ['modules/Applications/js/form.job-select.js']; |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Sets the array of script names. |
@@ -67,7 +67,7 @@ |
||
67 | 67 | array('type' => 'Zend\Form\Element\Textarea', |
68 | 68 | 'name' => 'mailConfirmationText', |
69 | 69 | 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
70 | - 'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li><li>##link## = Link to the application details</li></ul>' )) |
|
70 | + 'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li><li>##link## = Link to the application details</li></ul>')) |
|
71 | 71 | ); |
72 | 72 | |
73 | 73 | $this->add( |
@@ -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} |
@@ -49,6 +49,6 @@ |
||
49 | 49 | */ |
50 | 50 | public function getConfig() |
51 | 51 | { |
52 | - return ModuleConfigLoader::load(__DIR__ . '/../config'); |
|
52 | + return ModuleConfigLoader::load(__DIR__.'/../config'); |
|
53 | 53 | } |
54 | 54 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | foreach ($this->repository->getUserApplications($user->getId(), $limit) as $application) /* @var $application \Applications\Entity\Application */ |
64 | 64 | { |
65 | 65 | $title = $application->getJob()->getTitle(); |
66 | - $title .= ' ('. $view->dateFormat($application->getDateCreated()) . ')'; |
|
66 | + $title .= ' ('.$view->dateFormat($application->getDateCreated()).')'; |
|
67 | 67 | $url = $view->url('lang/applications/detail', ['id' => $application->getId()]); |
68 | 68 | $items[] = new ListItem($title, $url); |
69 | 69 | } |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | [ |
89 | 89 | 'application' => $this->application, |
90 | 90 | 'user' => $employee->getUser(), |
91 | - 'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null, |
|
91 | + 'bcc' => $adminSettings->getMailBCC() ? [$admin] : null, |
|
92 | 92 | ] |
93 | 93 | ); |
94 | 94 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | [ |
107 | 107 | 'job' => $this->application->getJob(), |
108 | 108 | 'user' => $recruiter, |
109 | - 'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null, |
|
109 | + 'bcc' => $adminSettings->getMailBCC() ? [$admin] : null, |
|
110 | 110 | ] |
111 | 111 | ); |
112 | 112 | } |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | [ |
124 | 124 | 'application' => $this->application, |
125 | 125 | 'body' => $ackBody, |
126 | - 'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null, |
|
126 | + 'bcc' => $adminSettings->getMailBCC() ? [$admin] : null, |
|
127 | 127 | ] |
128 | 128 | ); |
129 | 129 |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | if ($entity instanceof Job) { |
36 | 36 | $entities = $event->getRepository('Applications')->findBy(['isDraft' => null, 'job' => new \MongoId($entity->getId())]); |
37 | 37 | |
38 | - return ['Applications', $entities, 'These applications references the job and will also be removed:' ]; |
|
38 | + return ['Applications', $entities, 'These applications references the job and will also be removed:']; |
|
39 | 39 | } |
40 | 40 | } |
41 | 41 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | foreach ($entities as $ent) { |
50 | 50 | $repository->remove($ent); |
51 | 51 | } |
52 | - return ['Applications', $entities, 'were removed.' ]; |
|
52 | + return ['Applications', $entities, 'were removed.']; |
|
53 | 53 | } |
54 | 54 | } |
55 | 55 | } |