Completed
Pull Request — master (#364)
by Aimeos
02:02
created
src/Aimeos/Shop/Base/View.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@  discard block
 block discarded – undo
100 100
 			|| ( ( $user = \Illuminate\Support\Facades\Auth::user() ) !== null && $user->superuser )
101 101
 		) {
102 102
 			$helper = new \Aimeos\MW\View\Helper\Access\All( $view );
103
-		}
104
-		else
103
+		} else
105 104
 		{
106 105
 			$support = $this->support;
107 106
 
@@ -245,8 +244,7 @@  discard block
 block discarded – undo
245 244
 		{
246 245
 			$i18n = $this->i18n->get( array( $locale ) );
247 246
 			$translation = $i18n[$locale];
248
-		}
249
-		else
247
+		} else
250 248
 		{
251 249
 			$translation = new \Aimeos\MW\Translation\None( 'en' );
252 250
 		}
Please login to merge, or discard this patch.
src/Aimeos/Shop/Controller/AccountController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 	/**
46 46
 	 * Returns the html for the "My account" download page.
47 47
 	 *
48
-	 * @return \Illuminate\Contracts\View\View View for rendering the output
48
+	 * @return \Illuminate\Http\Response View for rendering the output
49 49
 	 */
50 50
 	public function downloadAction()
51 51
 	{
Please login to merge, or discard this patch.
src/Aimeos/Shop/ShopServiceProvider.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,8 @@
 block discarded – undo
19 19
  * Aimeos shop service provider for Laravel
20 20
  * @package laravel
21 21
  */
22
-class ShopServiceProvider extends ServiceProvider {
22
+class ShopServiceProvider extends ServiceProvider
23
+{
23 24
 
24 25
 	/**
25 26
 	 * Indicates if loading of the provider is deferred.
Please login to merge, or discard this patch.
src/Aimeos/Shop/Base/Support.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 	 * Checks if the user is in the specified group and associatied to the site
56 56
 	 *
57 57
 	 * @param \Illuminate\Foundation\Auth\User $user Authenticated user
58
-	 * @param string|array $groupcodes Unique user/customer group codes that are allowed
58
+	 * @param string $groupcodes Unique user/customer group codes that are allowed
59 59
 	 * @return bool True if user is part of the group, false if not
60 60
 	 */
61 61
 	public function checkUserGroup( \Illuminate\Foundation\Auth\User $user, $groupcodes ) : bool
Please login to merge, or discard this patch.
src/Aimeos/Shop/Command/ClearCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace Aimeos\Shop\Command;
12 12
 
13
-use Symfony\Component\Console\Input\InputArgument;
14
-
15 13
 
16 14
 /**
17 15
  * Command for clearing the content cache
Please login to merge, or discard this patch.
src/Aimeos/Shop/Command/JobsCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace Aimeos\Shop\Command;
12 12
 
13 13
 use Illuminate\Console\Command;
14
-use Symfony\Component\Console\Input\InputArgument;
15 14
 
16 15
 
17 16
 /**
Please login to merge, or discard this patch.
src/Aimeos/Shop/Controller/AdminController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	 * Returns the initial HTML view for the admin interface.
34 34
 	 *
35 35
 	 * @param \Illuminate\Http\Request $request Laravel request object
36
-	 * @return \Illuminate\Contracts\View\View View for rendering the output
36
+	 * @return \Illuminate\Http\RedirectResponse View for rendering the output
37 37
 	 */
38 38
 	public function indexAction( \Illuminate\Http\Request $request )
39 39
 	{
Please login to merge, or discard this patch.
src/Aimeos/Shop/Controller/PageController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	/**
28 28
 	 * Returns the html for the content pages.
29 29
 	 *
30
-	 * @return \Psr\Http\Message\ResponseInterface Response object containing the generated output
30
+	 * @return \Illuminate\Http\Response Response object containing the generated output
31 31
 	 */
32 32
 	public function indexAction()
33 33
 	{
Please login to merge, or discard this patch.
src/Aimeos/Shop/Facades/Attribute.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 	/**
20 20
 	 * Returns a new attribute frontend controller object
21 21
 	 *
22
-	 * @return \Aimeos\Controller\Frontend\Attribute\Iface
22
+	 * @return \Aimeos\Controller\Frontend\Iface
23 23
 	 */
24 24
 	protected static function getFacadeAccessor()
25 25
 	{
Please login to merge, or discard this patch.