We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f36aacc commit 95eac65Copy full SHA for 95eac65
1 file changed
classes/Hook/HookDisplayFooter.php
@@ -27,9 +27,9 @@
27
use PrestaShop\Module\Ps_Googleanalytics\Handler\GanalyticsJsHandler;
28
use PrestaShop\Module\Ps_Googleanalytics\Wrapper\ProductWrapper;
29
use Ps_Googleanalytics;
30
-use Tools;
31
-use RecursiveIteratorIterator;
32
use RecursiveArrayIterator;
+use RecursiveIteratorIterator;
+use Tools;
33
34
class HookDisplayFooter implements HookInterface
35
{
@@ -74,8 +74,8 @@ public function run()
74
}
75
} elseif (is_array($gacart)) {
76
$it = new RecursiveIteratorIterator(new RecursiveArrayIterator($gacart));
77
- foreach($it as $v) {
78
- $gaScripts .= $v;
+ foreach ($it as $v) {
+ $gaScripts .= $v;
79
80
} else {
81
$gaScripts .= $gacart;
0 commit comments