Completed
Pull Request — master (#27)
by
unknown
03:11 queued 01:38
created
lib/custom/src/MShop/Customer/Manager/Typo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -470,8 +470,7 @@
 block discarded – undo
470 470
 				 */
471 471
 				$path = 'mshop/customer/manager/typo3/insert';
472 472
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
473
-			}
474
-			else
473
+			} else
475 474
 			{
476 475
 				/** mshop/customer/manager/typo3/update
477 476
 				 * Updates an existing customer record in the database
Please login to merge, or discard this patch.
lib/custom/src/MShop/Customer/Manager/Group/Typo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -237,8 +237,7 @@
 block discarded – undo
237 237
 				 */
238 238
 				$path = 'mshop/customer/manager/group/typo3/insert';
239 239
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
240
-			}
241
-			else
240
+			} else
242 241
 			{
243 242
 				/** mshop/customer/manager/group/typo3/update/mysql
244 243
 				 * Updates an existing customer group record in the database
Please login to merge, or discard this patch.
lib/custom/setup/CustomerRemoveLostUserDataTypo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
 				) {
59 59
 					$this->execute( $sql, 'db-customer' );
60 60
 					$this->status( 'done' );
61
-				}
62
-				else
61
+				} else
63 62
 				{
64 63
 					$this->status( 'OK' );
65 64
 				}
Please login to merge, or discard this patch.
lib/custom/setup/FEUsersAddSiteIdTypo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
 			}
56 56
 
57 57
 			$this->status( 'done' );
58
-		}
59
-		else
58
+		} else
60 59
 		{
61 60
 			$this->status( 'OK' );
62 61
 		}
Please login to merge, or discard this patch.
lib/custom/src/MW/Cache/Typo3.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 	 *
94 94
 	 * @inheritDoc
95 95
 	 *
96
-	 * @param iterable $keys List of key strings that identify the cache entries that should be removed
96
+	 * @param string[] $keys List of key strings that identify the cache entries that should be removed
97 97
 	 * @return bool True if the items were successfully removed. False if there was an error.
98 98
 	 * @throws \Psr\SimpleCache\InvalidArgumentException
99 99
 	 */
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	 *
113 113
 	 * @inheritDoc
114 114
 	 *
115
-	 * @param iterable $tags List of tag strings that are associated to one or
115
+	 * @param string[] $tags List of tag strings that are associated to one or
116 116
 	 *  more cache entries that should be removed
117 117
 	 * @return bool True if the items were successfully removed. False if there was an error.
118 118
 	 * @throws \Psr\SimpleCache\InvalidArgumentException
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 	 * @inheritDoc
134 134
 	 *
135 135
 	 * @param string $key Path to the requested value like product/id/123
136
-	 * @param mixed $default Value returned if requested key isn't found
136
+	 * @param string $default Value returned if requested key isn't found
137 137
 	 * @return mixed Value associated to the requested key. If no value for the
138 138
 	 *	key is found in the cache, the given default value is returned
139 139
 	 * @throws \Psr\SimpleCache\InvalidArgumentException
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 	 *
154 154
 	 * @inheritDoc
155 155
 	 *
156
-	 * @param iterable $keys List of key strings for the requested cache entries
156
+	 * @param string[] $keys List of key strings for the requested cache entries
157 157
 	 * @param mixed $default Default value to return for keys that do not exist
158 158
 	 * @return iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value.
159 159
 	 * @throws \Psr\SimpleCache\InvalidArgumentException
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 	 * @inheritDoc
231 231
 	 *
232 232
 	 * @param iterable $pairs Associative list of key/value pairs. Both must be a string
233
-	 * @param \DateInterval|int|string|null $expires Date interval object,
233
+	 * @param string|null $expires Date interval object,
234 234
 	 *  date/time string in "YYYY-MM-DD HH:mm:ss" format or as integer TTL value
235 235
 	 *  when the cache entry will expiry
236 236
 	 * @param iterable $tags List of tags that should be associated to the cache entries
Please login to merge, or discard this patch.
lib/custom/src/MW/View/Helper/Url/Typo3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
 	 * @param array $config Associative list of key/value pairs
104 104
 	 * @param string $key Key of the value to retrieve
105 105
 	 * @param mixed $default Default value if value for key isn't found
106
-	 * @return mixed Configuration value for the given key or default value
106
+	 * @return string Configuration value for the given key or default value
107 107
 	 */
108 108
 	protected function getValue( array $config, string $key, $default = null )
109 109
 	{
Please login to merge, or discard this patch.
lib/custom/src/MW/Mail/Message/Typo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -307,8 +307,7 @@
 block discarded – undo
307 307
 		{
308 308
 			$this->object->embed( $data, $filename, $mimetype );
309 309
 			return 'cid:' . $filename;
310
-		}
311
-		elseif( class_exists( '\Swift_EmbeddedFile' ) )
310
+		} elseif( class_exists( '\Swift_EmbeddedFile' ) )
312 311
 		{
313 312
 			$part = \Swift_EmbeddedFile::newInstance( $data, $filename, $mimetype );
314 313
 			return $this->object->embed( $part );
Please login to merge, or discard this patch.