@@ -15,7 +15,7 @@ |
||
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. |
@@ -24,7 +24,7 @@ |
||
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. |
@@ -48,7 +48,7 @@ |
||
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'])) { |
@@ -59,7 +59,6 @@ |
||
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
62 | - |
|
63 | 62 | * |
64 | 63 | * {@inheritdoc} |
65 | 64 | */ |
@@ -47,7 +47,7 @@ |
||
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')); |
@@ -35,7 +35,7 @@ |
||
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 |
@@ -46,16 +46,16 @@ |
||
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 | } |
@@ -79,8 +79,8 @@ |
||
79 | 79 | $request = $this->getRequest(); |
80 | 80 | $getParams = $request->getQuery(); |
81 | 81 | $routeParams = $this->params()->fromRoute(); |
82 | - if (isset($routeParams['q']) && !isset($getParams['q'])){ |
|
83 | - $getParams['q']=$routeParams['q']; |
|
82 | + if (isset($routeParams['q']) && !isset($getParams['q'])) { |
|
83 | + $getParams['q'] = $routeParams['q']; |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | $result = $this->pagination([ |
@@ -22,6 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * @param AttachableEntityManager $attachableEntityManager |
24 | 24 | * @throws \LogicException If attachable entity manager is already set |
25 | + * @return AttachableEntityTrait |
|
25 | 26 | */ |
26 | 27 | public function setAttachableEntityManager(AttachableEntityManager $attachableEntityManager); |
27 | 28 |
@@ -78,7 +78,7 @@ |
||
78 | 78 | /** |
79 | 79 | * @see AttachableEntityInterface::createAttachedEntity() |
80 | 80 | */ |
81 | - public function createAttachedEntity($entityClass, $values = [], $key=null) |
|
81 | + public function createAttachedEntity($entityClass, $values = [], $key = null) |
|
82 | 82 | { |
83 | 83 | return $this->getAttachableEntityManager()->createAttachedEntity($entityClass, $values, $key); |
84 | 84 | } |