Completed
Push — master ( 922feb...d1f131 )
by Aimeos
03:08
created
src/Aimeos/Shop/Controller/ExtadmController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 	 * Creates a list of all available translations.
136 136
 	 *
137 137
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object
138
-	 * @return array List of language IDs with labels
138
+	 * @return string List of language IDs with labels
139 139
 	 */
140 140
 	protected function getJsonLanguages( \Aimeos\MShop\Context\Item\Iface $context )
141 141
 	{
Please login to merge, or discard this patch.
src/Aimeos/Shop/Command/AccountCommand.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -196,8 +196,7 @@
 block discarded – undo
196 196
 		try
197 197
 		{
198 198
 			$item = $manager->findItem( $code );
199
-		}
200
-		catch( \Aimeos\MShop\Exception $e )
199
+		} catch( \Aimeos\MShop\Exception $e )
201 200
 		{
202 201
 			$item = $manager->createItem();
203 202
 			$item->setLabel( $code );
Please login to merge, or discard this patch.
src/Aimeos/Shop/Base/View.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -209,8 +209,7 @@
 block discarded – undo
209 209
 		{
210 210
 			$i18n = $this->i18n->get( array( $locale ) );
211 211
 			$translation = $i18n[$locale];
212
-		}
213
-		else
212
+		} else
214 213
 		{
215 214
 			$translation = new \Aimeos\MW\Translation\None( 'en' );
216 215
 		}
Please login to merge, or discard this patch.
src/Aimeos/Shop/Base/Locale.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,7 @@
 block discarded – undo
91 91
 			$localeItem = $localeManager->bootstrap( $site, '', '', false );
92 92
 			$localeItem->setLanguageId( null );
93 93
 			$localeItem->setCurrencyId( null );
94
-		}
95
-		catch( \Aimeos\MShop\Locale\Exception $e )
94
+		} catch( \Aimeos\MShop\Locale\Exception $e )
96 95
 		{
97 96
 			$localeItem = $localeManager->createItem();
98 97
 		}
Please login to merge, or discard this patch.
src/Aimeos/Shop/Controller/JqadmController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	/**
76 76
 	 * Returns the HTML code for a copy of a resource object
77 77
 	 *
78
-	 * @return string Generated output
78
+	 * @return \Illuminate\Contracts\View\View Generated output
79 79
 	 */
80 80
 	public function copyAction()
81 81
 	{
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	/**
92 92
 	 * Returns the HTML code for a new resource object
93 93
 	 *
94
-	 * @return string Generated output
94
+	 * @return \Illuminate\Contracts\View\View Generated output
95 95
 	 */
96 96
 	public function createAction()
97 97
 	{
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 	/**
129 129
 	 * Returns the HTML code for the requested resource object
130 130
 	 *
131
-	 * @return string Generated output
131
+	 * @return \Illuminate\Contracts\View\View Generated output
132 132
 	 */
133 133
 	public function getAction()
134 134
 	{
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	/**
166 166
 	 * Returns the HTML code for a list of resource objects
167 167
 	 *
168
-	 * @return string Generated output
168
+	 * @return \Illuminate\Contracts\View\View Generated output
169 169
 	 */
170 170
 	public function searchAction()
171 171
 	{
Please login to merge, or discard this patch.