@@ -27,8 +27,8 @@ |
||
27 | 27 | { |
28 | 28 | parent::requireDefaultRecords(); |
29 | 29 | |
30 | - if (! GoogleProductCategory::get()->exists()) { |
|
31 | - if (! empty($_GET['setup-google-categories'])) { |
|
30 | + if (!GoogleProductCategory::get()->exists()) { |
|
31 | + if (!empty($_GET['setup-google-categories'])) { |
|
32 | 32 | DB::alteration_message('Creating categories (this may take 5 - 10 mins)', 'created'); |
33 | 33 | |
34 | 34 | $default_categories = $this->getGoogleCategories(); |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | $productArray = $className::get_data_for_google_shopping_feed($id); |
22 | 22 | } |
23 | 23 | |
24 | - if (! empty($productArray)) { |
|
24 | + if (!empty($productArray)) { |
|
25 | 25 | $arrayList->push( |
26 | 26 | ArrayData::create( |
27 | 27 | $productArray |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $productArray = $className::get_data_for_google_shopping_feed($id); |
61 | 61 | } |
62 | 62 | |
63 | - if (! empty($productArray)) { |
|
63 | + if (!empty($productArray)) { |
|
64 | 64 | $array[] = $productArray; |
65 | 65 | } |
66 | 66 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | $output = []; |
54 | 54 | foreach ($row as $field) { |
55 | - if (! $field) { |
|
55 | + if (!$field) { |
|
56 | 56 | $output[] = $enclosure . $field . $enclosure; |
57 | 57 | } elseif ($encloseAll || preg_match("/(?:{$delimiter_esc}|{$enclosure_esc}|\\s)/", $field)) { |
58 | 58 | $output[] = $enclosure . str_replace($enclosure, $enclosure . $enclosure, $field) . $enclosure; |