@@ -100,8 +100,7 @@ discard block |
||
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 |
||
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 | } |
@@ -45,7 +45,7 @@ |
||
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 | { |
@@ -19,7 +19,8 @@ |
||
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. |
@@ -55,7 +55,7 @@ |
||
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 |
@@ -10,8 +10,6 @@ |
||
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 |
@@ -11,7 +11,6 @@ |
||
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 | /** |
@@ -33,7 +33,7 @@ |
||
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 | { |
@@ -27,7 +27,7 @@ |
||
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 | { |
@@ -19,7 +19,7 @@ |
||
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 | { |