Completed
Push — develop ( fd8298...e653e2 )
by Carsten
14s
created
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         }
50 50
         
51 51
         if (null === $uri && isset($_SERVER['REQUEST_URI'])) {
52
-            $uri = preg_replace('~^' . $this->getView()->basePath() . '~', '', $_SERVER['REQUEST_URI']);
52
+            $uri = preg_replace('~^'.$this->getView()->basePath().'~', '', $_SERVER['REQUEST_URI']);
53 53
         }
54 54
         
55 55
         if (null === $stripParams) {
Please login to merge, or discard this patch.
module/Auth/src/Auth/View/Helper/StripQueryParams.php 1 patch
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.
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 2 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   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
                 $target->__invoke($data);
150 150
                 $className = get_class($this->entity);
151 151
                 // @TODO, have to be abstract
152
-                $snapShotMetaClassName = '\\' . $className . 'SnapshotMeta';
152
+                $snapShotMetaClassName = '\\'.$className.'SnapshotMeta';
153 153
                 $meta = new $snapShotMetaClassName;
154 154
                 $meta->setEntity($target);
155 155
                 $meta->setSourceId($this->entity->id);
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
             if (empty($dataHead) || empty($targetClass)) {
178 178
                 return null;
179 179
             }
180
-            $repositorySnapshotMeta = $this->getRepositories()->getRepository($targetClass . "Meta");
180
+            $repositorySnapshotMeta = $this->getRepositories()->getRepository($targetClass."Meta");
181 181
             $snapshot = $repositorySnapshotMeta->findSnapshot($this->entity);
182 182
             // an snapshot has to be so simple that there is no need for a special hydrator
183 183
             $hydrator = new EntityHydrator();
@@ -247,8 +247,8 @@  discard block
 block discarded – undo
247 247
             // the snapshotgenerator is a service defined by the name of the entity
248 248
             // this is the highest means, all subsequent means just add what is not set
249 249
             $className = get_class($this->entity);
250
-            if ($serviceLocator->has('snapshotgenerator' . $className)) {
251
-                $generator = $this->serviceLocator->get('snapshotgenerator' . $className);
250
+            if ($serviceLocator->has('snapshotgenerator'.$className)) {
251
+                $generator = $this->serviceLocator->get('snapshotgenerator'.$className);
252 252
                 if (is_array($generator)) {
253 253
                     $this->options = ArrayUtils::merge($generator, $this->options);
254 254
                     $generator = null;
@@ -348,13 +348,13 @@  discard block
 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)) {
355 355
                         foreach ($subResult as $subKey => $subValue) {
356 356
                             if (!empty($subKey) && is_string($subKey)) {
357
-                                $result[$key . '.' . $subKey] = $subValue;
357
+                                $result[$key.'.'.$subKey] = $subValue;
358 358
                             }
359 359
                         }
360 360
                     }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/Service/EntitySnapshotFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * and the configuration to get the services for Hydrator
24 24
      *
25 25
      * @param ServiceLocatorInterface $serviceLocator
26
-     * @return $this|mixed
26
+     * @return EntitySnapshot
27 27
      */
28 28
 
29 29
     public function createService(ServiceLocatorInterface $serviceLocator)
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/AddressInterface.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
     * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned
56 56
     * Numbers Authority.
57 57
     *
58
-    * @param string $postalCode {'AC'|'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AX'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BV'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'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this patch.
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -14,50 +14,50 @@
 block discarded – undo
14 14
 interface AddressInterface extends EntityInterface
15 15
 {
16 16
        
17
-   /**
18
-    * Postal Code of the Address.
19
-    *
20
-    * @param string $postalCode
21
-    * @return AddressInterface
22
-    */
17
+    /**
18
+     * Postal Code of the Address.
19
+     *
20
+     * @param string $postalCode
21
+     * @return AddressInterface
22
+     */
23 23
     public function setPostalCode($postalCode);
24 24
     public function getPostalCode();
25 25
    
26
-   /**
27
-    * Identifies the town or the city
28
-    *
29
-    * @param string $cityName
30
-    * @return AddressInterface
31
-    */
26
+    /**
27
+     * Identifies the town or the city
28
+     *
29
+     * @param string $cityName
30
+     * @return AddressInterface
31
+     */
32 32
     public function setCityName($cityName);
33 33
     public function getCityName();
34 34
 
35
-   /**
36
-    * The Street Name where the building/ house is located
37
-    *
38
-    * @param string $streetName
39
-    * @return AddressInterface
40
-    */
35
+    /**
36
+     * The Street Name where the building/ house is located
37
+     *
38
+     * @param string $streetName
39
+     * @return AddressInterface
40
+     */
41 41
     public function setStreetName($streetName);
42 42
     public function getStreetName();
43 43
 
44
-   /**
45
-    * The Number of the building or house on the street that identifies where
46
-    * to deliver mail. For example, Building 300 on Standards Parkway
47
-    *
48
-    * @param string $buildingNumber
49
-    * @return AddressInterface
50
-    */
44
+    /**
45
+     * The Number of the building or house on the street that identifies where
46
+     * to deliver mail. For example, Building 300 on Standards Parkway
47
+     *
48
+     * @param string $buildingNumber
49
+     * @return AddressInterface
50
+     */
51 51
     public function setBuildingNumber($buildingNumber);
52 52
     public function getBuildingNumber();
53 53
     
54
-   /**
55
-    * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned
56
-    * Numbers Authority.
57
-    *
58
-    * @param string $postalCode {'AC'|'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AX'|'AZ'|'BA'|'BB'|'BD'|'B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TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'}
59
-    * @return AddressInterface
60
-    */
54
+    /**
55
+     * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned
56
+     * Numbers Authority.
57
+     *
58
+     * @param string $postalCode {'AC'|'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AX'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BV'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'EH'|'ER'|'ES'|'ET'|'EU'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GF'|'GG'|'GH'|'GI'|'GL'|'GM'|'GN'|'GP'|'GQ'|'GR'|'GS'|'GT'|'GU'|'GW'|'GY'|'HK'|'HM'|'HN'|'HR'|'HT'|'HU'|'ID'|'IE'|'IL'|'IM'|'IN'|'IO'|'IQ'|'IR'|'IS'|'IT'|'JE'|'JM'|'JO'|'JP'|'KE'|'KG'|'KH'|'KI'|'KM'|'KN'|'KP'|'KR'|'KW'|'KY'|'KZ'|'LA'|'LB'|'LC'|'LI'|'LK'|'LR'|'LS'|'LT'|'LU'|'LV'|'LY'|'MA'|'MC'|'MD'|'ME'|'MF'|'MG'|'MH'|'MK'|'ML'|'MM'|'MN'|'MO'|'MP'|'MQ'|'MR'|'MS'|'MT'|'MU'|'MV'|'MW'|'MX'|'MY'|'MZ'|'NA'|'NC'|'NE'|'NF'|'NG'|'NI'|'NL'|'NO'|'NP'|'NR'|'NU'|'NZ'|'OM'|'PA'|'PE'|'PF'|'PG'|'PH'|'PK'|'PL'|'PM'|'PN'|'PR'|'PS'|'PT'|'PW'|'PY'|'QA'|'RE'|'RO'|'RS'|'RU'|'RW'|'SA'|'SB'|'SC'|'SD'|'SE'|'SG'|'SH'|'SI'|'SJ'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SU'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TF'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'}
59
+     * @return AddressInterface
60
+     */
61 61
     public function setCountryCode($countryCode);
62 62
     public function getCountryCode();
63 63
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/Hydrator/EntityHydratorFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * Create the Json Entity Hydrator
22 22
      *
23 23
      * @param  ServiceLocatorInterface $serviceLocator
24
-     * @return JsonEntityHydrator
24
+     * @return EntityHydrator
25 25
      */
26 26
     public function createService(ServiceLocatorInterface $serviceLocator)
27 27
     {
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormRowCombined.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      *
74 74
      * Proxies to {@link render()}.
75 75
      *
76
-     * @param null|ElementInterface $element
76
+     * @param null|ElementInterface $elements
77 77
      * @param null|string           $labelPosition
78 78
      * @param bool                  $renderErrors
79 79
      * @return string|FormRow
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         
63 63
         
64 64
         return sprintf(
65
-            '<div class="controls controls-row ' . $form_row_class . '">%s%s</div>',
65
+            '<div class="controls controls-row '.$form_row_class.'">%s%s</div>',
66 66
             $labelMarkup,
67 67
             $markups
68 68
         );
Please login to merge, or discard this patch.
module/Core/src/Core/Listener/AjaxRenderListener.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
      * Attach to an event manager
27 27
      *
28 28
      * @param  EventManagerInterface $events
29
-     * @param  integer $priority
30 29
      */
31 30
     public function attach(EventManagerInterface $events)
32 31
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
             }
78 78
             $resolver = $e->getApplication()->getServiceManager()->get('ViewResolver');
79 79
 
80
-            $template = $viewModel->getTemplate() . '.ajax';
80
+            $template = $viewModel->getTemplate().'.ajax';
81 81
             if ($resolver->resolve($template)) {
82 82
                 $viewModel->setTemplate($template);
83 83
             } else {
Please login to merge, or discard this patch.