Completed
Push — master ( 0837b5...206863 )
by Adam
02:22
created
src/IPub/Gravatar/Latte/Macros.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 		}
73 73
 
74 74
 		return $writer->write('
75
-			$_resultG = property_exists($this, "filters") ? %escape(call_user_func($this->filters->gravatar, ' . $arguments['email'] . ', ' . $arguments['size'] . ')) : $template->getGravatarService()->buildUrl(' . $arguments['email'] . ', ' . $arguments['size'] . ');
75
+			$_resultG = property_exists($this, "filters") ? %escape(call_user_func($this->filters->gravatar, ' . $arguments['email'].', '.$arguments['size'].')) : $template->getGravatarService()->buildUrl('.$arguments['email'].', '.$arguments['size'].');
76 76
 			echo $_resultG;
77 77
 			');
78 78
 	}
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
 			throw new Latte\CompileException('Please provide email address.');
95 95
 		}
96 96
 
97
-		return $writer->write('?> ' . ($node->htmlNode->name === 'a' ? 'href' : 'src') . '="<?php
98
-			$_resultG = property_exists($this, "filters") ? %escape(call_user_func($this->filters->gravatar, ' . $arguments['email'] . ', ' . $arguments['size'] . ')) : $template->getGravatarService()->buildUrl(' . $arguments['email'] . ', ' . $arguments['size'] . ');
97
+		return $writer->write('?> '.($node->htmlNode->name === 'a' ? 'href' : 'src').'="<?php
98
+			$_resultG = property_exists($this, "filters") ? %escape(call_user_func($this->filters->gravatar, ' . $arguments['email'].', '.$arguments['size'].')) : $template->getGravatarService()->buildUrl('.$arguments['email'].', '.$arguments['size'].');
99 99
 			echo $_resultG;
100 100
 		?>" <?php');
101 101
 	}
Please login to merge, or discard this patch.