Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Auth/src/Auth/Service/Register.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @param $user
116
+     * @param \Core\Entity\EntityInterface $user
117 117
      * @return $this
118 118
      */
119 119
     protected function setUser($user)
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
     /**
206 206
      * Email-Address
207 207
      * @param $email string
208
-     * @return mixed
208
+     * @return Register
209 209
      */
210 210
     protected function setEmail($email)
211 211
     {
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
 namespace Organizations\Factory\Controller;
11 11
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/View/Helper/BuildReferer.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
     
24 24
     protected $filter;
25 25
     
26
+    /**
27
+     * @param StripQueryParamsFilter $filter
28
+     */
26 29
     public function setFilter($filter)
27 30
     {
28 31
         $this->filter = $filter;
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/Auth/src/Auth/View/Helper/StripQueryParams.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
     
24 24
     protected $filter;
25 25
     
26
+    /**
27
+     * @param StripQueryParamsFilter $filter
28
+     */
26 29
     public function setFilter($filter)
27 30
     {
28 31
         $this->filter = $filter;
@@ -44,7 +47,6 @@  discard block
 block discarded – undo
44 47
      * Returns a property value of the authenticated user or null, if
45 48
      * no user is authenticated or the property does not exists.
46 49
      *
47
-     * @param string $property
48 50
      * @return \Auth\View\Helper\Auth|NULL
49 51
      */
50 52
     public function __invoke($uri, array $stripParams = null)
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/Controller/Plugin/ConfigFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * Create the settings service
15 15
      *
16 16
      * @param  ServiceLocatorInterface $serviceLocator
17
-     * @return ControllerManager
17
+     * @return Config
18 18
      */
19 19
     public function createService(ServiceLocatorInterface $serviceLocator)
20 20
     {
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/EntitySnapshot.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     }
79 79
 
80 80
     /**
81
-     * @return mixed
81
+     * @return RepositoryInterface
82 82
      */
83 83
     public function getRepositories()
84 84
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@
 block discarded – undo
348 348
                         }
349 349
                     } else {
350 350
                         if ($array1[$key] != $array2[$key]) {
351
-                            $result[$key] = array( $array1[$key], $array2[$key]);
351
+                            $result[$key] = array($array1[$key], $array2[$key]);
352 352
                         }
353 353
                     }
354 354
                     if (!empty($subResult)) {
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/Controller/Plugin/ListQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     }
126 126
     
127 127
     /**
128
-     * @return number $itemsPerPage
128
+     * @return integer $itemsPerPage
129 129
      */
130 130
     public function getItemsPerPage()
131 131
     {
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Mail.php 3 patches
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Get the current controller instance
33 33
      *
34
-     * @return null|Dispatchable
34
+     * @return Dispatchable
35 35
      */
36 36
     public function getController()
37 37
     {
@@ -45,6 +45,9 @@  discard block
 block discarded – undo
45 45
         return $this;
46 46
     }
47 47
     
48
+    /**
49
+     * @param AddressList $header
50
+     */
48 51
     protected function stringFromMailHeader($header)
49 52
     {
50 53
         $erg = '';
@@ -133,6 +136,9 @@  discard block
 block discarded – undo
133 136
         }
134 137
     }
135 138
     
139
+    /**
140
+     * @return string
141
+     */
136 142
     protected function getTemplate()
137 143
     {
138 144
         $template = null;
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@  discard block
 block discarded – undo
13 13
 
14 14
 class mail extends Message implements PluginInterface
15 15
 {
16
-     protected $controller;
17
-     protected $param;
18
-     protected $config;
16
+        protected $controller;
17
+        protected $param;
18
+        protected $config;
19 19
      
20 20
     /**
21 21
      * Set the current controller instance
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         } elseif (isset($this->config['templateHalf'])) {
142 142
             $template = $this->config['templateHalf'];
143 143
         } else {
144
-              throw new \InvalidArgumentException('Not template provided for Mail.');
144
+                throw new \InvalidArgumentException('Not template provided for Mail.');
145 145
         }
146 146
         return $template;
147 147
     }
@@ -154,19 +154,19 @@  discard block
 block discarded – undo
154 154
             $from = $this->config['from'];
155 155
         } else {
156 156
             $log->err('A from email address must be provided (Variable $from) in Template: ' . $template);
157
-              throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template);
157
+                throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template);
158 158
         }
159 159
         if (isset($this->config['fromName'])) {
160 160
             $fromName = $this->config['fromName'];
161 161
         } else {
162 162
             $log->err('A from name must be provided (Variable $fromName) in Template: ' . $template);
163
-              throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template);
163
+                throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template);
164 164
         }
165 165
         if (isset($this->config['subject'])) {
166 166
             $subject = $this->config['subject'];
167 167
         } else {
168 168
             $log->err('A subject must be provided (Variable $subject) in Template: ' . $template);
169
-              throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template);
169
+                throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template);
170 170
         }
171 171
         $this->setFrom($from, $fromName);
172 172
         $this->setSubject($subject);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     
81 81
     public function template($template)
82 82
     {
83
-        $controller =  get_class($this->controller);
83
+        $controller = get_class($this->controller);
84 84
         $services = $this->getController()->getServiceLocator();
85 85
         
86 86
         $event = new Event();
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                     unset($__vars[$key]);
129 129
                 }
130 130
             }
131
-            unset($__vars['content'],$__vars['controllerIdentifier'],$__vars['controller'],$__vars['resource'],$__vars['template'],$__vars['viewResolver']);
131
+            unset($__vars['content'], $__vars['controllerIdentifier'], $__vars['controller'], $__vars['resource'], $__vars['template'], $__vars['viewResolver']);
132 132
             $this->config = $__vars;
133 133
         }
134 134
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Mailer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
         );
44 44
     }
45 45
     
46
+    /**
47
+     * @return Message
48
+     */
46 49
     public function get($mailPluginName, array $options = array())
47 50
     {
48 51
         return $this->getMailService()->get($mailPluginName, $options);
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/PaginationParams.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      * Sets pagination params and stores them in the session.
54 54
      *
55 55
      * @param String $namespace
56
-     * @param array|Parameters $params
56
+     * @param \Zend\Stdlib\ParametersInterface $params
57 57
      * @return \Core\Controller\Plugin\PaginationParams fluent interface
58 58
      */
59 59
     public function setParams($namespace, $params)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     public function getList($namespace, $callback)
136 136
     {
137 137
         $session = new Container($namespace);
138
-        $params  = $session->params?:array();
138
+        $params  = $session->params ?: array();
139 139
         if (!$session->list) {
140 140
             $session->list = is_array($callback)
141 141
             ? call_user_func($callback, $session->params)
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.