Completed
Push — master ( 573cf8...88ffa4 )
by Maxime
03:57
created
src/config/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,5 +42,5 @@
 block discarded – undo
42 42
         'replace_host' => 'images.ctfassets.net',
43 43
     ],
44 44
 
45
-    'payload_fields_not_fallback' => explode(',',env('CONTENTFUL_PAYLOAD_FIELD_NOT_FALLBACK', ''))
45
+    'payload_fields_not_fallback' => explode(',', env('CONTENTFUL_PAYLOAD_FIELD_NOT_FALLBACK', ''))
46 46
 ];
47 47
\ No newline at end of file
Please login to merge, or discard this patch.
Distilleries/Contentful/Commands/Generators/Definitions/TextDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      */
10 10
     public function modelGetter()
11 11
     {
12
-        $stubPath = __DIR__ . '/stubs/string.stub';
12
+        $stubPath = __DIR__.'/stubs/string.stub';
13 13
 
14 14
         return self::getStub($stubPath, [
15 15
             'field_camel' => studly_case($this->id()),
Please login to merge, or discard this patch.
src/Distilleries/Contentful/Repositories/AssetsRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,12 +132,12 @@
 block discarded – undo
132 132
     private function fieldsWithFallback(array $fields, string $locale): array
133 133
     {
134 134
         $fallbackLocale = Locale::fallback($locale);
135
-        $file = $this->getFieldValue($fields, 'file', $locale, $fallbackLocale,[]);
135
+        $file = $this->getFieldValue($fields, 'file', $locale, $fallbackLocale, []);
136 136
         $details = isset($file['details']) ? $file['details'] : [];
137 137
 
138 138
         return [
139
-            'title' => $this->getFieldValue($fields, 'title', $locale, $fallbackLocale,''),
140
-            'description' => $this->getFieldValue($fields, 'description', $locale, $fallbackLocale,''),
139
+            'title' => $this->getFieldValue($fields, 'title', $locale, $fallbackLocale, ''),
140
+            'description' => $this->getFieldValue($fields, 'description', $locale, $fallbackLocale, ''),
141 141
             'url' => isset($file['url']) ? $file['url'] : '',
142 142
             'file_name' => isset($file['fileName']) ? $file['fileName'] : '',
143 143
             'content_type' => isset($file['contentType']) ? $file['contentType'] : '',
Please login to merge, or discard this patch.