Passed
Push — master ( 792c32...9ed106 )
by Roeland
23:07 queued 12:00
created
lib/private/Contacts/ContactsMenu/ActionFactory.php 2 patches
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -29,28 +29,28 @@
 block discarded – undo
29 29
 
30 30
 class ActionFactory implements IActionFactory {
31 31
 
32
-	/**
33
-	 * @param string $icon
34
-	 * @param string $name
35
-	 * @param string $href
36
-	 * @return ILinkAction
37
-	 */
38
-	public function newLinkAction($icon, $name, $href) {
39
-		$action = new LinkAction();
40
-		$action->setName($name);
41
-		$action->setIcon($icon);
42
-		$action->setHref($href);
43
-		return $action;
44
-	}
32
+    /**
33
+     * @param string $icon
34
+     * @param string $name
35
+     * @param string $href
36
+     * @return ILinkAction
37
+     */
38
+    public function newLinkAction($icon, $name, $href) {
39
+        $action = new LinkAction();
40
+        $action->setName($name);
41
+        $action->setIcon($icon);
42
+        $action->setHref($href);
43
+        return $action;
44
+    }
45 45
 
46
-	/**
47
-	 * @param string $icon
48
-	 * @param string $name
49
-	 * @param string $email
50
-	 * @return ILinkAction
51
-	 */
52
-	public function newEMailAction($icon, $name, $email) {
53
-		return $this->newLinkAction($icon, $name, 'mailto:' . $email);
54
-	}
46
+    /**
47
+     * @param string $icon
48
+     * @param string $name
49
+     * @param string $email
50
+     * @return ILinkAction
51
+     */
52
+    public function newEMailAction($icon, $name, $email) {
53
+        return $this->newLinkAction($icon, $name, 'mailto:' . $email);
54
+    }
55 55
 
56 56
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 * @return ILinkAction
51 51
 	 */
52 52
 	public function newEMailAction($icon, $name, $email) {
53
-		return $this->newLinkAction($icon, $name, 'mailto:' . $email);
53
+		return $this->newLinkAction($icon, $name, 'mailto:'.$email);
54 54
 	}
55 55
 
56 56
 }
Please login to merge, or discard this patch.