Passed
Push — master ( db2d5c...e33c1e )
by Jeroen
01:44
created
src/IrcChannel.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     /** @var string[] */
14 14
     private $users;
15 15
 
16
-    public function __construct(string $name)
16
+    public function __construct (string $name)
17 17
     {
18 18
         if ($name[0] !== '#') {
19 19
             $name = "#$name";
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      *
28 28
      *  @return string
29 29
      */
30
-    public function getName(): string
30
+    public function getName (): string
31 31
     {
32 32
         return $this->name;
33 33
     }
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      *  @return null|string
39 39
      */
40
-    public function getTopic()
40
+    public function getTopic ()
41 41
     {
42 42
         return $this->topic;
43 43
     }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      *  @return string[]
49 49
      */
50
-    public function getUsers(): array
50
+    public function getUsers (): array
51 51
     {
52 52
         return $this->users;
53 53
     }
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      *
58 58
      *  @param string $topic The topic
59 59
      */
60
-    public function setTopic(string $topic): void
60
+    public function setTopic (string $topic): void
61 61
     {
62 62
         $this->topic = $topic;
63 63
     }
@@ -68,9 +68,9 @@  discard block
 block discarded – undo
68 68
      *
69 69
      *  @param string[] $users An array of user names.
70 70
      */
71
-    public function setUsers(array $users): void
71
+    public function setUsers (array $users): void
72 72
     {
73
-        $this->users = array_map(function ($user) {
73
+        $this->users = array_map(function($user) {
74 74
             if (in_array($user[0], ['+', '@'])) {
75 75
                 $user = substr($user, 1);
76 76
             }
Please login to merge, or discard this patch.