Completed
Pull Request — develop (#359)
by Mathias
23:51
created
module/Jobs/src/Jobs/Factory/Form/ListFilterLocationFieldsetFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * @param  string             $requestedName
30 30
      * @param  null|array         $options
31 31
      *
32
-     * @return object
32
+     * @return ListFilterLocationFieldset
33 33
      * @throws ServiceNotFoundException if unable to resolve the service.
34 34
      * @throws ServiceNotCreatedException if an exception is raised when
35 35
      *     creating a service.
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Form/MultipostingSelectFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * @param  string             $requestedName
31 31
      * @param  null|array         $options
32 32
      *
33
-     * @return object
33
+     * @return MultipostingSelect
34 34
      * @throws ServiceNotFoundException if unable to resolve the service.
35 35
      * @throws ServiceNotCreatedException if an exception is raised when
36 36
      *     creating a service.
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $router = $container->get('Router');
47 47
         $select  = new MultipostingSelect();
48 48
         $helpers = $container->get('ViewHelperManager');
49
-        $currencyFormat  = $helpers->get('currencyFormat');
49
+        $currencyFormat = $helpers->get('currencyFormat');
50 50
 
51 51
         $channels = $container->get('Jobs/Options/Provider');
52 52
 
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
 
68 68
             $link = $router->assemble($channel->getParams(), array('name' => $channel->getRoute()));
69 69
             $groups[$category]['options'][$channel->getKey()] =
70
-                $channel->getLabel() . '|'
71
-                . $channel->getHeadLine() . '|'
72
-                . $channel->getDescription() . '|'
73
-                . $channel->getLinkText() . '|'
74
-                . $link . '|' . $channel->getPublishDuration() . '|'
70
+                $channel->getLabel().'|'
71
+                . $channel->getHeadLine().'|'
72
+                . $channel->getDescription().'|'
73
+                . $channel->getLinkText().'|'
74
+                . $link.'|'.$channel->getPublishDuration().'|'
75 75
                 . $channel->getLogo();
76 76
         }
77 77
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/JobEventManagerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * @param  string             $requestedName
36 36
      * @param  null|array         $options
37 37
      *
38
-     * @return object
38
+     * @return \Zend\EventManager\EventManagerInterface
39 39
      * @throws ServiceNotFoundException if unable to resolve the service.
40 40
      * @throws ServiceNotCreatedException if an exception is raised when
41 41
      *     creating a service.
Please login to merge, or discard this patch.
Jobs/src/Jobs/Factory/Repository/Filter/PaginationAdminQueryFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @param  string             $requestedName
26 26
      * @param  null|array         $options
27 27
      *
28
-     * @return object
28
+     * @return PaginationAdminQuery
29 29
      * @throws ServiceNotFoundException if unable to resolve the service.
30 30
      * @throws ServiceNotCreatedException if an exception is raised when
31 31
      *     creating a service.
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Repository/Filter/PaginationQueryFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * @param  string             $requestedName
23 23
      * @param  null|array         $options
24 24
      *
25
-     * @return object
25
+     * @return PaginationQuery
26 26
      * @throws ServiceNotFoundException if unable to resolve the service.
27 27
      * @throws ServiceNotCreatedException if an exception is raised when
28 28
      *     creating a service.
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/View/Helper/ApplyUrlFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,9 +45,9 @@
 block discarded – undo
45 45
         $params    = $container->get('params');
46 46
         $serverUrl = $container->get('serverUrl');
47 47
         $helper->setUrlHelper($url)
48
-               ->setTranslateHelper($translate)
49
-               ->setParamsHelper($params)
50
-               ->setServerUrlHelper($serverUrl);
48
+                ->setTranslateHelper($translate)
49
+                ->setParamsHelper($params)
50
+                ->setServerUrlHelper($serverUrl);
51 51
         return $helper;
52 52
     }
53 53
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/View/Helper/JobUrlFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
         $params    = $container->get('params');
46 46
         $serverUrl = $container->get('serverUrl');
47 47
         $helper->setUrlHelper($url)
48
-               ->setParamsHelper($params)
49
-               ->setServerUrlHelper($serverUrl);
48
+                ->setParamsHelper($params)
49
+                ->setServerUrlHelper($serverUrl);
50 50
         return $helper;
51 51
     }
52 52
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Options/ChannelOptionsFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $core = $container->get("Core/Options");
39 39
 
40 40
         if ('' == $channel->getCurrency()) {
41
-            $currency=$core->getDefaultCurrencyCode();
41
+            $currency = $core->getDefaultCurrencyCode();
42 42
             $channel->setCurrency($currency);
43 43
         }
44 44
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/ModuleOptionsFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
         $jobs_options = isset($config['jobs_options']) ? $config['jobs_options'] : array();
45 45
 
46
-        if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' ==  trim($jobs_options['multipostingApprovalMail'])) {
46
+        if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) {
47 47
             $coreOptions = $container->get('Core/Options');
48 48
             $jobs_options['multipostingApprovalMail'] = $coreOptions->getSystemMessageEmail();
49 49
         }
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
     /**
56 56
      * {@inheritDoc}
57 57
      *
58
-     * @param ServiceLocatorInterface $serviceLocator
59 58
      * @return ModuleOptions
60 59
      */
61 60
     public function createService(ServiceLocatorInterface $services)
Please login to merge, or discard this patch.