We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 015136f commit 5c0a852Copy full SHA for 5c0a852
lib/ReactServiceProvider.php
@@ -41,7 +41,7 @@ public function register() {
41
}
42
else {
43
44
- $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'react');
+ $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'react');
45
46
$reactSource = file_get_contents(config('react.source'));
47
$componentsSource = file_get_contents(config('react.components'));
@@ -50,15 +50,13 @@ public function register() {
50
Cache::forever('reactSource', $reactSource);
51
Cache::forever('componentsSource', $componentsSource);
52
53
-
54
55
56
return new React($reactSource, $componentsSource);
57
});
58
59
60
- public function provides()
61
- {
+ public function provides() {
62
return ['React'];
63
64
0 commit comments