Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Jobs/src/Jobs/Options/ChannelOptions.php 3 patches
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     /**
148 148
      * Gets the unique key of a channel
149 149
      *
150
-     * @return string
150
+     * @return integer
151 151
      */
152 152
     public function getKey()
153 153
     {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     /**
170 170
      * Gets the unique key of a channel
171 171
      *
172
-     * @return string
172
+     * @return integer
173 173
      */
174 174
     public function getExternalkey()
175 175
     {
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
     /**
253 253
      * Gets the tax for a price
254 254
      *
255
-     * @return string
255
+     * @return integer
256 256
      */
257 257
     public function getTax()
258 258
     {
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
     /**
346 346
      * Gets the headline of the channel
347 347
      *
348
-     * @return mixed
348
+     * @return string
349 349
      */
350 350
     public function getHeadLine()
351 351
     {
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
     }
384 384
 
385 385
     /**
386
-     * @return mixed
386
+     * @return string
387 387
      */
388 388
     public function getLinkText()
389 389
     {
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
     }
402 402
 
403 403
     /**
404
-     * @return mixed
404
+     * @return string
405 405
      */
406 406
     public function getRoute()
407 407
     {
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
439 439
     /**
440 440
      * Gets the logo of a channel (Jobboard)
441 441
      *
442
-     * @return string|null
442
+     * @return string
443 443
      */
444 444
     public function getLogo()
445 445
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      *
82 82
      * @var int $publishDuration
83 83
      */
84
-    protected $publishDuration=30;
84
+    protected $publishDuration = 30;
85 85
 
86 86
     /**
87 87
      * Category for this channel
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     public function setKey($key)
142 142
     {
143
-        $this->key=$key;
143
+        $this->key = $key;
144 144
         return $this;
145 145
     }
146 146
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     public function setExternalkey($key)
164 164
     {
165
-        $this->externalkey=$key;
165
+        $this->externalkey = $key;
166 166
         return $this;
167 167
     }
168 168
 
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @author cbleek
8
- * @license   MIT
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @author cbleek
8
+     * @license   MIT
9
+     */
10 10
 
11 11
 namespace Jobs\Options;
12 12
 
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Controller/IndexController.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -301,6 +301,9 @@
 block discarded – undo
301 301
         return $organization;
302 302
     }
303 303
 
304
+    /**
305
+     * @param string $script
306
+     */
304 307
     protected function getErrorViewModel($script)
305 308
     {
306 309
         $this->getResponse()->setStatusCode(500);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,12 +127,12 @@
 block discarded – undo
127 127
         try {
128 128
             /* @var $handler \Organizations\Controller\Plugin\GetOrganizationHandler */
129 129
             $handler = $this->plugin('Organizations/GetOrganizationHandler');
130
-            $org  = $handler->process($this->params(), true);
130
+            $org = $handler->process($this->params(), true);
131 131
         } catch (\RuntimeException $e) {
132 132
             return $this->getErrorViewModel('no-parent');
133 133
         }
134 134
 
135
-        $container       = $this->getFormular($org);
135
+        $container = $this->getFormular($org);
136 136
 
137 137
         if (isset($formIdentifier) && $request->isPost()) {
138 138
             /* @var $form \Zend\Form\FormInterface */
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   GPLv3
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   GPLv3
8
+     */
9 9
 
10 10
 /** ActionController of Organizations */
11 11
 namespace Organizations\Controller;
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         if ($isRecruiter) {
96 96
             $params->set('by', 'me');
97 97
         }
98
-         //default sorting
98
+            //default sorting
99 99
         if (!isset($params['sort'])) {
100 100
             $params->set('sort', "-name");
101 101
         }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
             $container->disableForm('employeesManagement');
242 242
         } else {
243 243
             $container->disableForm('organizationLogo')
244
-                      ->disableForm('descriptionForm');
244
+                        ->disableForm('descriptionForm');
245 245
         }
246 246
         return $container;
247 247
     }
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationReference.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      *   $this->proxy($method[, $arg1[, $arg2[, ...]]]);
151 151
      * </pre>
152 152
      *
153
-     * @param $method
153
+     * @param string $method
154 154
      *
155 155
      * @return self|mixed
156 156
      */
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 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace JobsTest\Form;
Please login to merge, or discard this patch.
src/Organizations/Repository/Filter/PaginationQueryFactory.php 3 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
      * @see \Zend\ServiceManager\FactoryInterface::createService()
29 29
      * @param ServiceLocatorInterface $serviceLocator
30
-     * @return \Organizations\Repository\Filter\PaginationQuery|mixed
30
+     * @return PaginationQuery
31 31
      */
32 32
     public function createService(ServiceLocatorInterface $serviceLocator)
33 33
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function createService(ServiceLocatorInterface $serviceLocator)
33 33
     {
34
-        $auth  = $serviceLocator->getServiceLocator()->get('AuthenticationService');
34
+        $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService');
35 35
         $filter = new PaginationQuery($auth);
36 36
         return $filter;
37 37
     }
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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/Organizations/src/Organizations/Repository/OrganizationName.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 
15 15
 class OrganizationName extends AbstractRepository
16 16
 {
17
+    /**
18
+     * @param string $name
19
+     */
17 20
     public function findbyName($name, $create = true)
18 21
     {
19 22
         $entity = $this->findOneBy(array('name' => $name));
Please login to merge, or discard this patch.
module/Pdf/Module.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * give a summary of all inserted Files,
166 166
      * this is for having access to those files in the post-process
167
-     * @param \Core\View\Helper\InsertFile\FileEvent|\Zend\View\ViewEvent $e
167
+     * @param FileEvent $e
168 168
      * @return NULL
169 169
      */
170 170
     public function collectFiles(FileEvent $e)
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      *
314 314
      * @param string $name
315 315
      * @param \Zend\View\Renderer\RendererInterface $renderer
316
-     * @return string|boolean
316
+     * @return string|false
317 317
      */
318 318
     public function resolve($name, Renderer $renderer = null)
319 319
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $eventManager->getSharedManager()->attach(
65 65
             'Applications',
66 66
             'application.detail.actionbuttons',
67
-            function ($event) {
67
+            function($event) {
68 68
                 return 'pdf/application/details/button';
69 69
             }
70 70
         );
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         
247 247
         // the handles are for temporary files
248 248
         error_reporting(0);
249
-        foreach (array(self::RENDER_FULL, self::RENDER_WITHOUT_PDF, self::RENDER_WITHOUT_ATTACHMENTS ) as $render) {
249
+        foreach (array(self::RENDER_FULL, self::RENDER_WITHOUT_PDF, self::RENDER_WITHOUT_ATTACHMENTS) as $render) {
250 250
             $handles = array();
251 251
             try {
252 252
                 $pdf = new extern\mPDFderive();
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 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
- * Auth Module Bootstrap
5
- *
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     * Auth Module Bootstrap
5
+     *
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 namespace Pdf;
11 11
 
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
     protected $appendImage = array();
43 43
     
44 44
     
45
-     /**
46
-     * Loads module specific configuration.
47
-     *
48
-     * @return array
49
-     */
45
+        /**
46
+         * Loads module specific configuration.
47
+         *
48
+         * @return array
49
+         */
50 50
     public function getConfig()
51 51
     {
52 52
         return ModuleConfigLoader::load(__DIR__ . '/config');
Please login to merge, or discard this patch.
module/Settings/src/Settings/Entity/SettingsContainer.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,6 @@
 block discarded – undo
138 138
      * If the property is an array, the check will return, if this
139 139
      * array has items or not.
140 140
      *
141
-     * @param string $name
142 141
      * @return boolean
143 142
      */
144 143
     public function __isset($property)
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 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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/Settings/src/Settings/Form/FormAbstract.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -50,6 +50,11 @@  discard block
 block discarded – undo
50 50
         return $this->hydrator;
51 51
     }
52 52
     
53
+    /**
54
+     * @param string $name
55
+     *
56
+     * @return callable
57
+     */
53 58
     protected function getPlugin($name)
54 59
     {
55 60
         $plugin = null;
@@ -88,5 +93,8 @@  discard block
 block discarded – undo
88 93
         $this->add($this->forms->get('DefaultButtonsFieldset'));
89 94
     }
90 95
     
96
+    /**
97
+     * @return string
98
+     */
91 99
     abstract public function getCoreFieldset();
92 100
 }
Please login to merge, or discard this patch.
module/Settings/src/Settings/Repository/Settings.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@
 block discarded – undo
44 44
     
45 45
     /**
46 46
      * the $id for an entity 'setting' is the same as for the entity 'user'
47
-     * @param type $id
48 47
      */
49 48
     public function getSettingsByUser($user)
50 49
     {
Please login to merge, or discard this patch.