Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Core/src/Core/Paginator/PaginatorFactoryAbstract.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     /**
26 26
      * @param ServiceLocatorInterface $serviceLocator
27
-     * @return mixed|Paginator
27
+     * @return Paginator
28 28
      */
29 29
     public function createService(ServiceLocatorInterface $serviceLocator)
30 30
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $repository     = $repositories->get($this->getRepository());
35 35
         $queryBuilder   = $repository->createQueryBuilder();
36 36
         $filter         = $serviceLocator->getServiceLocator()->get('filterManager')->get($this->getFilter());
37
-        $adapter       = new \Core\Paginator\Adapter\DoctrineMongoLateCursor($queryBuilder, $filter);
37
+        $adapter = new \Core\Paginator\Adapter\DoctrineMongoLateCursor($queryBuilder, $filter);
38 38
         $service        = new Paginator($adapter);
39 39
         return $service;
40 40
     }
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
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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.
Repository/DoctrineMongoODM/Event/AbstractUpdatePermissionsSubscriber.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -108,6 +108,9 @@
 block discarded – undo
108 108
         return $entities;
109 109
     }
110 110
     
111
+    /**
112
+     * @return string
113
+     */
111 114
     protected function getRepositoryName()
112 115
     {
113 116
         if (0 === strpos($this->repositoryName, '\\')) {
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/Core/src/Core/Repository/DoctrineMongoODM/PersistenceListener.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
      * Attach to an event manager
30 30
      *
31 31
      * @param  EventManagerInterface $events
32
-     * @param  integer $priority
33 32
      */
34 33
     public function attach(EventManagerInterface $events)
35 34
     {
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/Core/src/Core/Repository/Filter/AbstractPaginationQuery.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param mixed $value
34
-     * @param null $queryBuilder
34
+     * @param \Doctrine\ODM\MongoDB\Query\Builder $queryBuilder
35 35
      * @return mixed
36 36
      * @throws \DomainException
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/Core/src/Core/Service/RestClient.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * @throws \RuntimeException
91
-     * @return mixed
91
+     * @return ZendClient
92 92
      */
93 93
     protected function authetificate()
94 94
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,8 +92,8 @@
 block discarded – undo
92 92
      */
93 93
     protected function authetificate()
94 94
     {
95
-        $auth = array_key_exists('user', $this->config)?$this->config['user']:'';
96
-        $pass = array_key_exists('pass', $this->config)?$this->config['pass']:'';
95
+        $auth = array_key_exists('user', $this->config) ? $this->config['user'] : '';
96
+        $pass = array_key_exists('pass', $this->config) ? $this->config['pass'] : '';
97 97
         return $this->setAuth($auth, $pass);
98 98
     }
99 99
 
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
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 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/Core/src/Core/View/Helper/AbstractEventsHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * Set the View object
26 26
      *
27 27
      * @param  Renderer $view
28
-     * @return AbstractHelper
28
+     * @return AbstractEventsHelper
29 29
      */
30 30
     public function setView(Renderer $view)
31 31
     {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Get the view object
38 38
      *
39
-     * @return null|Renderer
39
+     * @return Renderer
40 40
      */
41 41
     public function getView()
42 42
     {
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/Alert.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
     /**
161 161
      * Starts content capturing.
162 162
      *
163
-     * @param string|array $type
163
+     * @param string|null $type
164 164
      * @param array        $options see {@łink render()} for information.
165 165
      *
166 166
      * @return self
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
                      . '<span class="notification-content">' . $content . '</span>';
153 153
         }
154 154
 
155
-        $target = array_key_exists('target', $options)?' target="' . $options['target'] . '"':'';
155
+        $target = array_key_exists('target', $options) ? ' target="' . $options['target'] . '"' : '';
156 156
         $markup = '<div ' . $id . ' class="alert alert-' . $type . $class . '" ' . $target . '>' . $content . '</div>' . PHP_EOL;
157 157
         return $markup;
158 158
     }
Please login to merge, or discard this patch.
Indentation   +7 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       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
 /** Core view helper */
11 11
 namespace Core\View\Helper;
@@ -52,7 +52,6 @@  discard block
 block discarded – undo
52 52
  * @method warning()
53 53
  * @method success()
54 54
  * @method danger()
55
-
56 55
  *
57 56
 *@author Mathias Gelhausen <[email protected]>
58 57
  */
@@ -149,7 +148,7 @@  discard block
 block discarded – undo
149 148
         ) {
150 149
             $class .= ' alert-dismissable';
151 150
             $content = '<button type="button" class="close" data-dismiss="alert">&times;</button>'
152
-                     . '<span class="notification-content">' . $content . '</span>';
151
+                        . '<span class="notification-content">' . $content . '</span>';
153 152
         }
154 153
 
155 154
         $target = array_key_exists('target', $options)?' target="' . $options['target'] . '"':'';
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/DateFormat.php 3 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
      *
54 54
      * @see \Zend\I18n\View\Helper\DateFormat::__invoke()
55 55
      *
56
-     * @param \DateTime $data|string
57 56
      * @param string $dateType
58 57
      * @return string
59 58
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 {
41 41
     const FULL  = 'full';
42 42
     const LONG  = 'long';
43
-    const MEDIUM= 'medium';
43
+    const MEDIUM = 'medium';
44 44
     const SHORT = 'short';
45 45
     const NONE  = 'none';
46 46
 
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/Core/src/Core/View/Helper/Params.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
      * Return all event parameters or a single event parameter.
172 172
      *
173 173
      * @param string $param Parameter name to retrieve, or null to get all.
174
-     * @param mixed $efault Default value to use when the parameter is missing.
174
+     * @param mixed $default Default value to use when the parameter is missing.
175 175
      * @return mixed
176 176
      * @throws RuntimeException
177 177
      */
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.