Completed
Pull Request — develop (#359)
by Mathias
23:51
created
module/Auth/src/Acl/Factory/View/Helper/AclFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * @param  string             $requestedName
28 28
      * @param  null|array         $options
29 29
      *
30
-     * @return object
30
+     * @return Acl
31 31
      * @throws ServiceNotFoundException if unable to resolve the service.
32 32
      * @throws ServiceNotCreatedException if an exception is raised when
33 33
      *     creating a service.
Please login to merge, or discard this patch.
module/Auth/src/Acl/Listener/CheckPermissionsListenerFactory.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * @param  string             $requestedName
26 26
      * @param  null|array         $options
27 27
      *
28
-     * @return object
28
+     * @return CheckPermissionsListener
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.
@@ -47,7 +47,6 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * - Injects the AuthenticationService
49 49
      *
50
-     * @param ServiceLocatorInterface $helpers
51 50
      * @return \Auth\View\Helper\Auth
52 51
      * @see \Zend\ServiceManager\FactoryInterface::createService()
53 52
      */
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Form/SocialProfilesFieldsetFactory.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 SocialProfilesFieldset
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.
module/Cv/src/Cv/Factory/Form/LanguageSkillCollectionFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * @param  string             $requestedName
16 16
      * @param  null|array         $options
17 17
      *
18
-     * @return CollectionContainer
18
+     * @return \Core\Form\CollectionContainer
19 19
      * @throws ServiceNotFoundException if unable to resolve the service.
20 20
      * @throws ServiceNotCreatedException if an exception is raised when
21 21
      *     creating a service.
Please login to merge, or discard this patch.
module/Cv/src/Cv/Factory/Form/PreferredJobFieldsetFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * @param  string             $requestedName
25 25
      * @param  null|array         $options
26 26
      *
27
-     * @return CollectionContainer
27
+     * @return PreferredJobFieldset
28 28
      * @throws ServiceNotFoundException if unable to resolve the service.
29 29
      * @throws ServiceNotCreatedException if an exception is raised when
30 30
      *     creating a service.
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Listener/ExceptionStrategyFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 break;
49 49
         }
50 50
 
51
-        $config   = $container->get('Config');
51
+        $config = $container->get('Config');
52 52
 
53 53
         if (isset($config['view_manager'])) {
54 54
             if (isset($config['view_manager']['display_exceptions'])) {
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Form/Element/UserSearchbarFactory.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,6 @@
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-
63 62
      *
64 63
      * {@inheritdoc}
65 64
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         /* @var \Zend\View\Helper\HeadScript $headScript */
49 49
 
50
-        $viewHelpers= $container->get('ViewHelperManager');
50
+        $viewHelpers = $container->get('ViewHelperManager');
51 51
         $headScript = $viewHelpers->get('headscript');
52 52
         $basePath   = $viewHelpers->get('basepath');
53 53
         $headScript->appendFile($basePath('Auth/js/form.usersearchbar.js'));
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/View/Helper/SocialButtonsFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         /* @var $serviceLocator \Zend\View\HelperPluginManager */
36 36
         $options = $container->get('Auth/Options');
37 37
         $config = $container->get('Config');
38
-        $helper = new SocialButtons($options,$config);
38
+        $helper = new SocialButtons($options, $config);
39 39
         return $helper;
40 40
     }
41 41
 
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/Form/View/Helper/FormEditorLightFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,16 +46,16 @@
 block discarded – undo
46 46
         $lang = $event->getRouteMatch()->getParam('lang');
47 47
 
48 48
         $helper = new FormEditorLight();
49
-        if(isset($config['view_helper_config']['form_editor']['light']) && is_array($config['view_helper_config']['form_editor']['light'])){
49
+        if (isset($config['view_helper_config']['form_editor']['light']) && is_array($config['view_helper_config']['form_editor']['light'])) {
50 50
             $helper->setOptions($config['view_helper_config']['form_editor']['light']);
51 51
         }
52 52
 
53
-        $helper->setOption('theme' ,  'modern');
54
-        $helper->setOption('selector' ,  'div.tinymce_light');
53
+        $helper->setOption('theme', 'modern');
54
+        $helper->setOption('selector', 'div.tinymce_light');
55 55
 
56
-        if (in_array($lang,['de','fr','it','es','hi','ar','ru','zh','tr'])) {
56
+        if (in_array($lang, ['de', 'fr', 'it', 'es', 'hi', 'ar', 'ru', 'zh', 'tr'])) {
57 57
             $helper->setOption('language', $lang);
58
-            $helper->setOption('language_url', $basePath('/js/tinymce-lang/') . $lang .'.js');
58
+            $helper->setOption('language_url', $basePath('/js/tinymce-lang/').$lang.'.js');
59 59
         }
60 60
         return $helper;
61 61
     }
Please login to merge, or discard this patch.