Completed
Push — master ( d7b56f...6a987a )
by
unknown
11:21 queued 01:20
created
src/ModuleManifest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function getProviders(): array
56 56
     {
57
-        if (! empty($this->manifest)) {
57
+        if (!empty($this->manifest)) {
58 58
             return $this->manifest;
59 59
         }
60 60
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         // todo check this section store on module.php or not?
79 79
         $this->getModulesData()
80
-            ->each(function (array $manifest) {
80
+            ->each(function(array $manifest) {
81 81
                 if (empty($manifest['files'])) {
82 82
                     return;
83 83
                 }
@@ -90,17 +90,17 @@  discard block
 block discarded – undo
90 90
 
91 91
     public function getModulesData(): Collection
92 92
     {
93
-        if (! empty(self::$manifestData) && ! app()->runningUnitTests()) {
93
+        if (!empty(self::$manifestData) && !app()->runningUnitTests()) {
94 94
             return self::$manifestData;
95 95
         }
96 96
 
97 97
         self::$manifestData = $this->paths
98
-            ->flatMap(function ($path) {
98
+            ->flatMap(function($path) {
99 99
                 $manifests = $this->files->glob("{$path}/module.json");
100 100
                 is_array($manifests) || $manifests = [];
101 101
 
102 102
                 return collect($manifests)
103
-                    ->map(function ($manifest) {
103
+                    ->map(function($manifest) {
104 104
                         return [
105 105
                             'module_directory' => dirname($manifest),
106 106
                             ...$this->files->json($manifest),
Please login to merge, or discard this patch.