@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | public function install() |
11 | 11 | { |
12 | - Schema::create('instanceRoute', function (Blueprint $table) { |
|
12 | + Schema::create('instanceRoute', function(Blueprint $table) { |
|
13 | 13 | $table->engine = "InnoDB"; |
14 | 14 | |
15 | 15 | $table->increments('id'); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function install() |
23 | 23 | { |
24 | - Schema::create('site', function (Blueprint $table) { |
|
24 | + Schema::create('site', function(Blueprint $table) { |
|
25 | 25 | $table->engine = "InnoDB"; |
26 | 26 | |
27 | 27 | $table->string('host'); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | public function install() |
11 | 11 | { |
12 | - Schema::create('temporary', function (Blueprint $table) { |
|
12 | + Schema::create('temporary', function(Blueprint $table) { |
|
13 | 13 | $table->engine = "InnoDB"; |
14 | 14 | |
15 | 15 | $table->string('id', '36'); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | foreach ($menus as $menu) { |
43 | 43 | $option = PhpQuery::pq('<option></option>'); |
44 | 44 | $option->appendTo($select)->attr('value', $menu->id)->html($menu->title); |
45 | - if(isset($args['selected']) && $menu->id == $args['selected']) { |
|
45 | + if (isset($args['selected']) && $menu->id == $args['selected']) { |
|
46 | 46 | $option->attr('selected', 'selected'); |
47 | 47 | } |
48 | 48 | } |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Pagination Language Lines |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | - 'previous' => '« Previous', |
|
17 | - 'next' => 'Next »', |
|
16 | + 'previous' => '« Previous', |
|
17 | + 'next' => 'Next »', |
|
18 | 18 | |
19 | 19 | ]; |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Password Reminder Language Lines |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -13,10 +13,10 @@ discard block |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | - 'password' => 'Passwords must be at least six characters and match the confirmation.', |
|
17 | - 'reset' => 'Your password has been reset!', |
|
18 | - 'sent' => 'We have e-mailed your password reset link!', |
|
19 | - 'token' => 'This password reset token is invalid.', |
|
20 | - 'user' => "We can't find a user with that e-mail address.", |
|
16 | + 'password' => 'Passwords must be at least six characters and match the confirmation.', |
|
17 | + 'reset' => 'Your password has been reset!', |
|
18 | + 'sent' => 'We have e-mailed your password reset link!', |
|
19 | + 'token' => 'This password reset token is invalid.', |
|
20 | + 'user' => "We can't find a user with that e-mail address.", |
|
21 | 21 | |
22 | 22 | ]; |
@@ -8,14 +8,14 @@ |
||
8 | 8 | */ |
9 | 9 | |
10 | 10 | $uri = urldecode( |
11 | - parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) |
|
11 | + parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) |
|
12 | 12 | ); |
13 | 13 | |
14 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the |
15 | 15 | // built-in PHP web server. This provides a convenient way to test a Laravel |
16 | 16 | // application without having installed a "real" web server software here. |
17 | 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { |
18 | - return false; |
|
18 | + return false; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | require_once __DIR__.'/index.php'; |
@@ -58,7 +58,7 @@ |
||
58 | 58 | /** |
59 | 59 | * Get the services provided by the provider. |
60 | 60 | * |
61 | - * @return array |
|
61 | + * @return string[] |
|
62 | 62 | */ |
63 | 63 | public function provides() |
64 | 64 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | */ |
63 | 63 | public function register() |
64 | 64 | { |
65 | - $this->app->bind('xe.media', function ($app) { |
|
65 | + $this->app->bind('xe.media', function($app) { |
|
66 | 66 | $config = $app['config']['xe.media']; |
67 | 67 | $proxyClass = $app['xe.interception']->proxy(MediaManager::class, 'XeMedia'); |
68 | 68 | $mediaManager = new $proxyClass($app['xe.storage'], new CommandFactory(), $config['thumbnail']); |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | $mediaManager->extend(Media::TYPE_IMAGE, new ImageHandler($app['xe.storage'])); |
71 | 71 | |
72 | 72 | $extensionName = isset($config['videoExtensionDefault']) ? $config['videoExtensionDefault'] : 'dummy'; |
73 | - $method = 'create' . ucfirst($extensionName) . 'Extension'; |
|
73 | + $method = 'create'.ucfirst($extensionName).'Extension'; |
|
74 | 74 | if (method_exists($this, $method) !== true) { |
75 | 75 | throw new \InvalidArgumentException( |
76 | 76 | sprintf('Unknown extension [%s]', $config['videoExtensionDefault']) |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | |
123 | 123 | private function registerEvent() |
124 | 124 | { |
125 | - intercept('XeStorage@remove', 'media.remove', function ($target, $file) { |
|
125 | + intercept('XeStorage@remove', 'media.remove', function($target, $file) { |
|
126 | 126 | |
127 | 127 | /** @var MediaManager $manager */ |
128 | 128 | $manager = $this->app['xe.media']; |
@@ -36,7 +36,7 @@ |
||
36 | 36 | { |
37 | 37 | $this->app->singleton( |
38 | 38 | 'xe.uiobject', |
39 | - function ($app) { |
|
39 | + function($app) { |
|
40 | 40 | |
41 | 41 | $aliases = $app['config']->get('xe.uiobject.aliases'); |
42 | 42 |