Completed
Branch develop (bc6cb3)
by Carsten
37:10 queued 26:53
created
module/Geo/src/Geo/Form/GeoText.php 3 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@  discard block
 block discarded – undo
48 48
         return $this;
49 49
     }
50 50
 
51
+    /**
52
+     * @param Converter $converter
53
+     */
51 54
     public function setConverter($converter)
52 55
     {
53 56
         $this->converter = $converter;
@@ -97,7 +100,7 @@  discard block
 block discarded – undo
97 100
     }
98 101
 
99 102
     /**
100
-     * @return mixed
103
+     * @return Hidden
101 104
      */
102 105
     public function getDataElement()
103 106
     {
@@ -105,7 +108,7 @@  discard block
 block discarded – undo
105 108
     }
106 109
 
107 110
     /**
108
-     * @return mixed
111
+     * @return Text
109 112
      */
110 113
     public function getNameElement()
111 114
     {
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
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
 /** GetText.php */
11 11
 namespace Geo\Form;
@@ -88,12 +88,12 @@  discard block
 block discarded – undo
88 88
         $id = str_replace(array('[', ']'), array('-', ''), $name);
89 89
         $this->setAttribute('id', $id);
90 90
         $this->nameElement->setName($name . '[name]')
91
-                          ->setAttribute('id', $id . '-name')
92
-                          ->setAttribute('class', 'form-control geolocation');
91
+                            ->setAttribute('id', $id . '-name')
92
+                            ->setAttribute('class', 'form-control geolocation');
93 93
         $this->dataElement->setName($name . '[data]')
94
-                          ->setAttribute('id', $id . '-data');
94
+                            ->setAttribute('id', $id . '-data');
95 95
         $this->typeElement->setName($name . '[type]')
96
-                          ->setAttribute('id', $id . '-type');
96
+                            ->setAttribute('id', $id . '-type');
97 97
     }
98 98
 
99 99
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
         return $this;
125 125
     }
126 126
 
127
-    public function setValue($value, $type=null)
127
+    public function setValue($value, $type = null)
128 128
     {
129 129
         if ($value instanceOf Location) {
130 130
             $value = $this->getConverter()->toValue($value, $type ?: $this->typeElement->getValue());
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/IndexController.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     /**
51 51
      * List jobs.
52 52
      *
53
-     * @return array
53
+     * @return ViewModel
54 54
      */
55 55
     public function indexAction()
56 56
     {
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
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
 /** ActionController of Jobs */
11 11
 namespace Jobs\Controller;
@@ -158,8 +158,8 @@  discard block
 block discarded – undo
158 158
         /* @var $repository \Jobs\Repository\Job */
159 159
         $query      = $this->params()->fromQuery('q', '*');
160 160
         $repository = $this->getServiceLocator()
161
-                           ->get('repositories')
162
-                           ->get('Jobs/Job');
161
+                            ->get('repositories')
162
+                            ->get('Jobs/Job');
163 163
 
164 164
         $return = array();
165 165
         foreach ($repository->getTypeaheadResults($query, $this->auth('id')) as $id => $item) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     protected function listJobs($showPendingJobs = false)
66 66
     {
67 67
 
68
-        $serviceLocator  = $this->getServiceLocator();
68
+        $serviceLocator = $this->getServiceLocator();
69 69
         /* @var $request \Zend\Http\Request */
70 70
         $request     = $this->getRequest();
71 71
         $params      = $request->getQuery();
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             $session[$sessionKey] = $params->toArray();
90 90
 
91 91
             if (!$showPendingJobs) {
92
-                $filterForm           = $this->getServiceLocator()->get('forms')->get('Jobs/ListFilter', $isRecruiter);
92
+                $filterForm = $this->getServiceLocator()->get('forms')->get('Jobs/ListFilter', $isRecruiter);
93 93
                 $filterForm->bind($params);
94 94
             } else {
95 95
             }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/ManageController.php 3 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 {
33 33
 
34 34
     /**
35
-     * @return $this|void
35
+     * @return ManageController
36 36
      */
37 37
     public function attachDefaultListeners()
38 38
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * @TODO edit-Action and save-Action are doing the same, one of them has to quit
103 103
      *
104
-     * @return null|ViewModel
104
+     * @return ViewModel
105 105
      */
106 106
     public function editAction()
107 107
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-     * @return null|ViewModel
118
+     * @return ViewModel
119 119
      */
120 120
     public function saveAction()
121 121
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * parameter are arbitrary elements for defaults or programming flow
131 131
      *
132 132
      * @param array $parameter
133
-     * @return null|ViewModel
133
+     * @return ViewModel
134 134
      * @throws \RuntimeException
135 135
      */
136 136
     protected function save($parameter = array())
@@ -511,7 +511,7 @@  discard block
 block discarded – undo
511 511
     }
512 512
 
513 513
     /**
514
-     * @return null|ViewModel
514
+     * @return ViewModel
515 515
      */
516 516
     public function deactivateAction()
517 517
     {
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
     }
553 553
 
554 554
     /**
555
-     * @param $script
555
+     * @param string $script
556 556
      * @param array $parameter
557 557
      * @return ViewModel
558 558
      */
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -409,8 +409,8 @@  discard block
 block discarded – undo
409 409
         if (empty($reference)) {
410 410
             // create an unique job-reference
411 411
             $repository = $this->getServiceLocator()
412
-                               ->get('repositories')
413
-                               ->get('Jobs/Job');
412
+                                ->get('repositories')
413
+                                ->get('Jobs/Job');
414 414
             $jobEntity->setReference($repository->getUniqueReference());
415 415
         }
416 416
         $jobEntity->changeStatus(Status::CREATED, "job was created");
@@ -457,9 +457,9 @@  discard block
 block discarded – undo
457 457
             // we want just some Values to be compared
458 458
             $diff = null;
459 459
             foreach (array('title', 'organization', 'location',
460
-                         'templateValues.qualifications', 'templateValues.requirements', 'templateValues.benefits', 'templateValues.title',
461
-                         'templateValues._freeValues.description',
462
-                     ) as $prelKey) {
460
+                            'templateValues.qualifications', 'templateValues.requirements', 'templateValues.benefits', 'templateValues.title',
461
+                            'templateValues._freeValues.description',
462
+                        ) as $prelKey) {
463 463
                 if (array_key_exists($prelKey, $prelDiff)) {
464 464
                     $diff[$prelKey] = $prelDiff[$prelKey];
465 465
                 }
@@ -486,28 +486,28 @@  discard block
 block discarded – undo
486 486
             'lang/jobs/view',
487 487
             array(),
488 488
             array('query' =>
489
-                      array( 'id' => $jobEntity->id))
489
+                        array( 'id' => $jobEntity->id))
490 490
         );
491 491
 
492 492
         $approvalLink = $this->url()->fromRoute(
493 493
             'lang/jobs/approval',
494 494
             array('state' => 'approved'),
495 495
             array('query' =>
496
-                      array( 'id' => $jobEntity->id))
496
+                        array( 'id' => $jobEntity->id))
497 497
         );
498 498
 
499 499
         $declineLink = $this->url()->fromRoute(
500 500
             'lang/jobs/approval',
501 501
             array('state' => 'declined'),
502 502
             array('query' =>
503
-                      array( 'id' => $jobEntity->id))
503
+                        array( 'id' => $jobEntity->id))
504 504
         );
505 505
 
506 506
         return array('job' => $jobEntity,
507
-                     'diffSnapshot' => $diff,
508
-                     'viewLink' => $viewLink,
509
-                     'approvalLink' => $approvalLink,
510
-                     'declineLink' => $declineLink);
507
+                        'diffSnapshot' => $diff,
508
+                        'viewLink' => $viewLink,
509
+                        'approvalLink' => $approvalLink,
510
+                        'declineLink' => $declineLink);
511 511
     }
512 512
 
513 513
     /**
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         if (empty($user->info->email)) {
141 141
             return $this->getErrorViewModel('no-parent', array('cause' => 'noEmail'));
142 142
         }
143
-        $userOrg            = $user->getOrganization();
143
+        $userOrg = $user->getOrganization();
144 144
         if (!$userOrg->hasAssociation()) {
145 145
             return $this->getErrorViewModel('no-parent', array('cause' => 'noCompany'));
146 146
         }
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $request            = $this->getRequest();
155 155
         $params             = $this->params();
156 156
         $formIdentifier     = $params->fromQuery('form');
157
-        $pageIdentifier     = (int) $params->fromQuery('page', array_key_exists('page', $parameter)?$parameter['page']:0);
157
+        $pageIdentifier     = (int) $params->fromQuery('page', array_key_exists('page', $parameter) ? $parameter['page'] : 0);
158 158
         $jobEntity          = $this->getJob();
159 159
         $viewModel          = null;
160 160
         $this->acl($jobEntity, 'edit');
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
         $instanceForm       = null;
166 166
         $viewHelperManager  = $serviceLocator->get('ViewHelperManager');
167 167
         $formErrorMessages = array();
168
-        if (isset($formIdentifier) &&  $request->isPost()) {
168
+        if (isset($formIdentifier) && $request->isPost()) {
169 169
             // at this point the form get instantiated and immediately accumulated
170 170
             $instanceForm = $form->getForm($formIdentifier);
171 171
             if (!isset($instanceForm)) {
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
         $id_fromQuery   = $this->params()->fromQuery('id', 0);
354 354
         $id_fromSubForm = $this->params()->fromPost('job', 0);
355 355
         $user           = $this->auth()->getUser();
356
-        $id             = empty($id_fromRoute)? (empty($id_fromQuery)?$id_fromSubForm:$id_fromQuery) : $id_fromRoute;
356
+        $id             = empty($id_fromRoute) ? (empty($id_fromQuery) ? $id_fromSubForm : $id_fromQuery) : $id_fromRoute;
357 357
 
358 358
         if (empty($id) && $allowDraft) {
359 359
             $this->acl('Jobs/Manage', 'new');
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
             return $job;
369 369
         }
370 370
 
371
-        $jobEntity      = $repository->find($id);
371
+        $jobEntity = $repository->find($id);
372 372
         if (!$jobEntity) {
373 373
             throw new \RuntimeException('No job found with id "' . $id . '"');
374 374
         }
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
         // array with differences between the last snapshot and the actual entity
451 451
         // is remains Null if there is no snapshot
452 452
         // it will be an empty array if the snapshot and the actual entity do not differ
453
-        $diff           = null;
453
+        $diff = null;
454 454
         // preliminary difference, contain all differences
455 455
         $prelDiff = $this->entitySnapshot()->diff($jobEntity);
456 456
         if (isset($prelDiff)) {
@@ -486,21 +486,21 @@  discard block
 block discarded – undo
486 486
             'lang/jobs/view',
487 487
             array(),
488 488
             array('query' =>
489
-                      array( 'id' => $jobEntity->id))
489
+                      array('id' => $jobEntity->id))
490 490
         );
491 491
 
492 492
         $approvalLink = $this->url()->fromRoute(
493 493
             'lang/jobs/approval',
494 494
             array('state' => 'approved'),
495 495
             array('query' =>
496
-                      array( 'id' => $jobEntity->id))
496
+                      array('id' => $jobEntity->id))
497 497
         );
498 498
 
499 499
         $declineLink = $this->url()->fromRoute(
500 500
             'lang/jobs/approval',
501 501
             array('state' => 'declined'),
502 502
             array('query' =>
503
-                      array( 'id' => $jobEntity->id))
503
+                      array('id' => $jobEntity->id))
504 504
         );
505 505
 
506 506
         return array('job' => $jobEntity,
@@ -535,7 +535,7 @@  discard block
 block discarded – undo
535 535
     public function templateAction()
536 536
     {
537 537
         $serviceLocator          = $this->getServiceLocator();
538
-        $translator          = $serviceLocator->get('translator');
538
+        $translator = $serviceLocator->get('translator');
539 539
         try {
540 540
             $jobEntity           = $this->getJob();
541 541
             $template            = $this->params('template', 'default');
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/History.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     protected $message;
43 43
     
44
+    /**
45
+     * @param Status $status
46
+     */
44 47
     public function __construct($status, $message = '[System]')
45 48
     {
46 49
         if (!$status instanceof StatusInterface) {
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/Job.php 3 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
     }
539 539
     /**
540 540
      * Gets the number of unread applications
541
-     * @return Collection
541
+     * @return integer
542 542
      */
543 543
     public function getUnreadApplications()
544 544
     {
@@ -846,7 +846,7 @@  discard block
 block discarded – undo
846 846
     /**
847 847
      * Get a list of fieldnames, which can be searched by keywords
848 848
      *
849
-     * @return array
849
+     * @return string[]
850 850
      */
851 851
     public function getSearchableProperties()
852 852
     {
@@ -990,7 +990,7 @@  discard block
 block discarded – undo
990 990
     }
991 991
 
992 992
     /**
993
-     * @return Job
993
+     * @return JobSnapshot
994 994
      */
995 995
     public function makeSnapshot()
996 996
     {
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
6
- * @license   MIT
7
- */
3
+     * YAWIK
4
+     *
5
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
6
+     * @license   MIT
7
+     */
8 8
 
9 9
 namespace Jobs\Entity;
10 10
 
@@ -380,10 +380,10 @@  discard block
 block discarded – undo
380 380
         return $this;
381 381
     }
382 382
     
383
-     /**
384
-     * (non-PHPdoc)
385
-     * @see \Jobs\Entity\JobInterface::getOrganization()
386
-     */
383
+        /**
384
+         * (non-PHPdoc)
385
+         * @see \Jobs\Entity\JobInterface::getOrganization()
386
+         */
387 387
     public function getOrganization()
388 388
     {
389 389
         return $this->organization;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
             if ($removePermissions) {
514 514
                 $this->getPermissions()->revoke($this->user, Permissions::PERMISSION_ALL);
515 515
             }
516
-            $this->user=null;
516
+            $this->user = null;
517 517
         }
518 518
 
519 519
         return $this;
@@ -1003,7 +1003,7 @@  discard block
 block discarded – undo
1003 1003
      */
1004 1004
     public function getSnapshotGenerator()
1005 1005
     {
1006
-        $generator = array (
1006
+        $generator = array(
1007 1007
             'hydrator' => '',
1008 1008
             'target' => 'Jobs\Entity\JobSnapshot',
1009 1009
             'exclude' => array('permissions', 'history')
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/JobInterface.php 2 patches
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
36 36
      * Gets the unique key used by applications to reference a job posting
37 37
      *
38 38
      * @param string $applyId
39
+     * @return Job
39 40
      */
40 41
     public function setApplyId($applyId);
41 42
 
@@ -91,6 +92,7 @@  discard block
 block discarded – undo
91 92
      * Sets an URI for a job posting
92 93
      *
93 94
      * @param string $link
95
+     * @return Job
94 96
      */
95 97
     public function setLink($link);
96 98
     
@@ -121,6 +123,7 @@  discard block
 block discarded – undo
121 123
      * Sets the title of a job posting
122 124
      *
123 125
      * @param string $title
126
+     * @return Job
124 127
      */
125 128
     public function setTitle($title);
126 129
 
@@ -134,6 +137,7 @@  discard block
 block discarded – undo
134 137
      * Sets the description of a job posting
135 138
      *
136 139
      * @param string $text
140
+     * @return Job
137 141
      */
138 142
     public function setDescription($text);
139 143
 
@@ -235,6 +239,7 @@  discard block
 block discarded – undo
235 239
      * Sets the language of a job posting
236 240
      *
237 241
      * @param string $language
242
+     * @return Job
238 243
      */
239 244
     public function setLanguage($language);
240 245
 
@@ -250,6 +255,7 @@  discard block
 block discarded – undo
250 255
      * Sets the location of a job posting
251 256
      *
252 257
      * @param string $location
258
+     * @return Job
253 259
      */
254 260
     public function setLocation($location);
255 261
 
@@ -264,6 +270,7 @@  discard block
 block discarded – undo
264 270
      * Sets locations of a job posting
265 271
      *
266 272
      * @param string $locations
273
+     * @return Job
267 274
      */
268 275
     public function setLocations($locations);
269 276
 
@@ -278,6 +285,7 @@  discard block
 block discarded – undo
278 285
      * Sets applications for a job posting
279 286
      *
280 287
      * @param Collection $applications
288
+     * @return Job
281 289
      */
282 290
     public function setApplications(Collection $applications);
283 291
     
@@ -292,6 +300,7 @@  discard block
 block discarded – undo
292 300
      * Sets Status of a job posting
293 301
      *
294 302
      * @param string $status
303
+     * @return void
295 304
      */
296 305
     public function setStatus($status);
297 306
 
@@ -337,6 +346,7 @@  discard block
 block discarded – undo
337 346
      * organisation offering the job.
338 347
      *
339 348
      * @param string $reference
349
+     * @return Job
340 350
      */
341 351
     public function setReference($reference);
342 352
     
@@ -352,6 +362,7 @@  discard block
 block discarded – undo
352 362
      * Sets the list of channels where a job opening should be published
353 363
      *
354 364
      * @param Array $portals
365
+     * @return Job
355 366
      */
356 367
     public function setPortals(array $portals);
357 368
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      *
199 199
      * @return UserInterface $user
200 200
      */
201
-    public function getUser() ;
201
+    public function getUser();
202 202
 
203 203
     /**
204 204
      * Gets the link to the application form
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/JobSnapshot.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
     /**
674 674
      * Gets locations of a job posting
675 675
      *
676
-     * @return string
676
+     * @return Collection
677 677
      */
678 678
     public function getLocations()
679 679
     {
@@ -715,7 +715,7 @@  discard block
 block discarded – undo
715 715
     /**
716 716
      * Gets applications for a job posting
717 717
      *
718
-     * @return string
718
+     * @return Status
719 719
      */
720 720
     public function getStatus()
721 721
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -303,14 +303,14 @@
 block discarded – undo
303 303
     {
304 304
         $methods = array_filter(
305 305
             get_class_methods($source),
306
-            function ($v) {
306
+            function($v) {
307 307
                 return 3 < strlen($v) && strpos($v, 'get') === 0;
308 308
             }
309 309
         );
310 310
         // these attributes don't need to get copied
311 311
         $methods = array_diff($methods, array('getId', 'getHydrator', 'getHiringOrganizations'));
312 312
         $methods = array_map(
313
-            function ($v) {
313
+            function($v) {
314 314
                 return lcfirst(substr($v, 3));
315 315
             },
316 316
             $methods
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Organizations\Form;
12 12
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Listener/MailSenderFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @param ServiceLocatorInterface $serviceLocator
29 29
      *
30
-     * @return NewJobMailSender
30
+     * @return MailSender
31 31
      */
32 32
     public function createService(ServiceLocatorInterface $serviceLocator)
33 33
     {
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @license MIT
7
- * @copyright  2013 - 2015 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2015 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Organizations\Repository\Event;
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Filter/viewModelTemplateFilterAbstract.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 
112 112
     /**
113 113
      * @param mixed $value
114
-     * @return mixed|ViewModel
114
+     * @return ViewModel
115 115
      * @throws \InvalidArgumentException
116 116
      */
117 117
     public function filter($value)
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public function filter($value)
118 118
     {
119
-        $model    = new ViewModel();
119
+        $model = new ViewModel();
120 120
         $this->container = array();
121 121
         $this->extract($value);
122 122
         $model->setVariables($this->container);
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             throw new \InvalidArgumentException('cannot create a viewModel for Templates without an $job');
168 168
         }
169 169
         $location = $this->job->getLocation();
170
-        $this->container['location'] = isset($location)?$location:'';
170
+        $this->container['location'] = isset($location) ? $location : '';
171 171
         return $this;
172 172
     }
173 173
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
             throw new \InvalidArgumentException('cannot create a viewModel for Templates without an $job');
182 182
         }
183 183
         $description = $this->job->templateValues->description;
184
-        $this->container['description'] = isset($description)?$description:'';
184
+        $this->container['description'] = isset($description) ? $description : '';
185 185
         return $this;
186 186
     }
187 187
 
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
         $organization = $this->job->organization;
202 202
         if (isset($organization)) {
203 203
             $organizationName = $organization->organizationName->name;
204
-            $organizationStreet = $organization->contact->street.' '.$organization->contact->houseNumber;
204
+            $organizationStreet = $organization->contact->street . ' ' . $organization->contact->houseNumber;
205 205
             $organizationPostalCode = $organization->contact->postalcode;
206 206
             $organizationPostalCity = $organization->contact->city;
207 207
         }
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Organizations\Form;
12 12
 
Please login to merge, or discard this patch.