Skip to content

Commit 5c304a2

Browse files
committed
Remove redundant comments
- Removed unrequired comments probably added automatically by PHPStorm
1 parent ad3db43 commit 5c304a2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Elasticsearch/ConnectionPool/Selectors/RandomSelector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ public function select($connections)
3131
{
3232
return $connections[array_rand($connections)];
3333
}
34-
}//end class
34+
}

src/Elasticsearch/ConnectionPool/Selectors/RoundRobinSelector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ public function select($connections)
3939

4040
return $connections[$this->current % count($connections)];
4141
}
42-
}//end class
42+
}

tests/Elasticsearch/Tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testTenConnections()
4040
$nextIndex = ($index % 10) + 1;
4141
$this->assertEquals($mockConnections[$nextIndex], $retConnection);
4242
}
43-
}//end testTenConnections()
43+
}
4444

4545

4646
/**
@@ -79,5 +79,5 @@ public function testAddTenConnectionsestFiveTRemoveThree()
7979
$nextIndex = ($index % (count($mockConnections)-1)) + 1;
8080
$this->assertEquals($mockConnections[$nextIndex], $retConnection);
8181
}
82-
}//end testAddTenConnectionsestFiveTRemoveThree()
83-
}//end class
82+
}
83+
}

tests/Elasticsearch/Tests/ConnectionPool/Selectors/StickyRoundRobinSelectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ public function testTenConnectionsFirstDies()
7070
$this->assertEquals($mockConnections[1], $retConnection);
7171
}
7272
}
73-
}//end class
73+
}

0 commit comments

Comments
 (0)