Passed
Push — master ( 86087e...ee795b )
by Jalen
01:41
created
src/services/RomanService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 	public function getRoman($number = null)
54 54
     {
55 55
 		$this->result = null;
56
-		foreach($this->romanNumerals as $key => $value)
56
+		foreach ($this->romanNumerals as $key => $value)
57 57
 		{
58 58
 			$matches = (int)($number / $value);
59 59
 			$this->result .= str_repeat($key, $matches);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	public function getNumber($roman = null)
70 70
 	{
71 71
 		$this->result = null;
72
-		foreach($this->romanNumerals as $key => $value)
72
+		foreach ($this->romanNumerals as $key => $value)
73 73
 		{
74 74
 			while (strpos($roman, $key) === 0)
75 75
 			{
Please login to merge, or discard this patch.
src/Roman.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         Event::on(
46 46
             CraftVariable::class,
47 47
             CraftVariable::EVENT_INIT,
48
-            function (Event $event) {
48
+            function(Event $event) {
49 49
                 /** @var CraftVariable $variable */
50 50
                 $variable = $event->sender;
51 51
                 $variable->set('roman', RomanVariable::class);
Please login to merge, or discard this patch.